Unify debug flags
merge nathanlws: Unify debug flags

Merge pull request #1547 from nathanlws/sql-layer/common-debug-flags
https://github.com/FoundationDB/sql-layer/pull/1547
Split REST services out into a separate plugin.
Make more tests based on plugin test base.
It isn't going to work to know about HttpServletRequest here. Pass in security pieces.
Need routine firewall at test time to call procs.
Copy build results into plugins dir for developer use and thence into packages.
Make the plugins prefix be fdbsql for greater consistency.
Output encoding got lost in shuffle.
Rename restdml service under rest package.
Straighten out required services.
Gut the plugins subsystem in favor of simple services discovery via resources in the classpath, to which any plugins are added.
This means that plugin authors have to take responsibility for not stomping on properties, etc.
Almost all the bindAndRequire calls in plugin tests could be require if that existed; they are just overriding the requirement, not the binding. So add it.
Quiet down tests.
New POM structure.
Move files into new subdirectory.
Need to inject Postgres type mapping.
Services config.
Update base test dependencies.
Some tests need to be moved to continue to use the Postgres driver.
This test can be in core if it uses the embedded JDBC driver.