Warnings; Issues Fixes

Added pre-compiler checks for ARC, iOS SDK Version, and Objective-C
Modules. Re-added the fileName method and added a deprecation warning.
This commit finalizes version 5.1, fixes #13 and fixes #14.