Make methods return html rather than sending and exiting

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Separate getResponse for sendResponse

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Use query execution and results display mechanism multiple time for multi queries

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Do not exit here

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Make the method return html

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Merge pull request #1397 from madhuracj/multiquery

Multiquery