Updated to using the mono compatible sqlite package. This builds on windows (using the x86 target) and *should* build on mono too.
Also fixed a few R# code quality suggestions

Signed-off-by: Martin Evans <martindevans@gmail.com>