Updated:
1. customized write_error to generate JSON/YAML output.
2. re-parsed query: seperated controlers and real query arguments.
3. add helpers.py which for misc functions.
4. add simple_field_processor which generates new function for field encoding.
Fixed an assertion bug.
updated logging.
Add timing test.