Adding support for getSingleResult.
Merge pull request #9 from ignisdeus/master

Adding support for getSingleResult.