arrayFromJSONWithError: plus small fixes for Mac

I have added a convenience method arrayFromJSONWithError: for the sake of completeness, in an effort to at least clarify issue #5. Additionally, I have silenced recent warnings for the demo projects.