Fix how tests send "where" parameters to API
Fix how tests send "where" parameters to API

The way the query criteria where being sent (as an array) is not
documented by SequelizeJS and is not how the UI sends them. The where
parameter is now sent as an object as documented.

TheCacophonyProject/Full_Noise