Remove respond_to block from BaseController#index
Revert "Remove respond_to block from BaseController#index"

This reverts commit 102ed6dcaa56527af554c561405d36a86c51c969.
Refactor BaseController rest methods to use prepare_*
Update controllers to use prepare_* method
Fix specs filename
Implement BaseController#respond
Implement #preare_destroy, #prepare_toolbox, #load_resource, rearange function definitions
Merge pull request #144 from cubesystems/refactor_rest_methods

Refactor rest methods
Initial postgresql support
Make it possible to test postgresql and mysql on travis
query fixes for PostgreSQL
Don't use transactions for postgresql tests
Merge pull request #145 from graudeejs/postgresql

Add support for PostgreSQL
Fix issue #136
Merge pull request #148 from graudeejs/issue_136

Fix issue #136