Check if data is nil when fetching from database.
Updated error handling
Fixed methods taking an error to return non-void.

According to Apple, Methods accepting NSError** should have a non-void return value to indicate whether or not an error occurred.
Merge pull request #108 from tkrajacic/master

Fix #109, crash due to bad null pointer de-referencing logic