Merge pull request #61 from dannybutler/master

Fixed bizarre bug in rest_ui
fixed single sql agg.
Merge pull request #62 from alexanderson/master

fixed single sql agg.