Add DatabaseManager to perun

- new manager for database
- new method for getting version of DB
- simple test of new method
- add method to RPC