Protect from write query

rollback everytime
Add codeclimate badge
Merge pull request #6 from esminc/protect-from-write-query

Rollback after select to protect from unwanted write query