Core/DBLayer: Fix some forgotten alignments
Core/DBLayer: Fix petitions crash
Merge pull request #826 from MobileDev/master

Serveral fixes
Merge pull request #825 from roc13x/master

Core/DBLayer: Fix some forgotten alignments
Merge pull request #827 from MobileDev/master

Added missing db
Fixed line endings in sql files.

Signed-off-by: SkyFire <admin@projectskyfire.org>
Merge pull request #828 from MobileDev/master

 Cleanup & realignments.