Converted the backend to use plain PDO
changes service provider (and dump permissions)
dev into master

* develop:
  changes service provider (and dump permissions)
  Converted the backend to use plain PDO