Added bedatabase high-level engine on nosqldatabase

* Prepared db version interface with backup & roll migration
* Moved public headers into subdir
Backend now can generate device key

* Splitted init by stages
* Added device key generator & encryptor/decryptor
* Backend database now can store device key