Tests for version comparison, and tons of small tweaks.

Updated license header in source files. Made sure that testing modals don't
effect future real builds. NSNull safety around API response parsing.
Documentation improvements. Ignore Podfile.lock in Example project.