Added advanced search support to queries

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Fixed search query exceptions

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Updated model default search fields

Signed-off-by: Tom Wright <tom@inflatablecookie.com>