Fixed build etc

Removed unused / useless app.config
Added links to SQLite.Interop.dll to fix a build issue
Added a missing constructor parameter to fix build.
Added annotations, etc.

Added Resharper Annotations
Added logging methods to RuntimeCommon
Cleaned up some usings.