Add DatabaseManager to perun

- new manager for database
- new method for getting version of DB
- simple test of new method
- add method to RPC
Merge pull request #346 from stavamichal/databaseManager

Add DatabaseManager to perun