Fixed getSingleResult to check for hasSingleResult first to avoid issues with provider implementations.
Merge pull request #91 from BluWings/master

- method signature cleanup
Merge pull request #90 from PureSolTechnologies/master

Fixed getSingleResult to check for hasSingleResult first to avoid issues...