[SQL optimizations] - many small optimizations
Fixes #670 - Adds proper json support for most CRUD operations
Fixes #664 - smart-proxy features
Now provides feedback on the smart-proxy connection and query
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
Fixes #65, Fixes #339 and Fixes #539