Safely Omitting Properties in JavaScript: A Custom omit Function

Custom implementation of the omit method of lodash.