standardize search API in device service

refactor method calls so that device search
functions the same way as voicemails and func_keys
standardize search API in device DAO

change method calls to conform to style used in voicemail
and func_keys
Merge remote-tracking branch 'origin/resource_filtering'

* origin/resource_filtering:
  standardize search API in device DAO
  standardize search API in device service