move plaintext/json from global to class scope
use utf8 only when needed
Incorporate PR 664 via ptarjan:hhvm
correct the setup.py for proper regex replacement and add logfile in daemon mode
make utf8 a keyword
run in server mode as logs should be stdout/stderr per reqs
remove unused imports and var
flag for single and multiple db queries to provide the correct response type
make utf8 default and run in daemon mode
Merge pull request #750 from codylerum/undertow_validation

Undertow validation issues and cleanup
Merge branch 'hhvm_bench8feedback' of https://github.com/nareshv/FrameworkBenchmarks into PR666

Conflicts:
	hhvm/db.php
	hhvm/fortunes.php
	hhvm/json.php
	hhvm/plaintext.php
	hhvm/queries.php
	hhvm/updates.php