implementation of namedQuery

repository and query level implementation of calling a stored procedure.
refactoring repository

refactoring toList and toSingle methods to use object properties.
refactoring unit test

adding unit test tag for unit test classes.