Fix analyzer warnings

Fixes analyzer warning while building the targets.

- Disable analyzer for SQLite. Being such a big file it doesn’t seem to finish.
- Fix methods returning NSErrors as double pointers.
- Enable ARC in the -Simulator and -Device targets, otherwise there will be leaks.