db.mapping: add a base class with common method

created RocksBase the base of all Rocks ORM classes
db: add a singleton session to the Database class
commands: add getSession
commands: set host cpus uses new sqlalchemy ORM stuff

first command with new sqlalchemy ORM stuff