require hasOwnProperty helper
pass along generated joinTables when using the migrate drop strategy
remove type JSON casting
Merge branch 'dropJoinTables' into associations

* dropJoinTables:
  pass along generated joinTables when using the migrate drop strategy
don't do a lookup if an IN query is used with an empty array
don't try and cast mongo id's