[FIX] 'active' column won't be updated in ccng_db

No matter service gateways runs or not, the column won't be updated

Test plans:
1. all unit tests pass
2. all bvt pass
3. verify manually
Support query services with the 'active' parameter

Query only active services like this: 'get /v2/services?q=active:true'

Change-Id: I5c6e6fdda77e691f80fa890d19126143ee6ea5bb
Add test cases for parameterized queries
Merge pull request #4 from bluesalt/active_services

commits about 'active'  column in table 'services' in ccng_db