project-ified as prep for cocoapods support

by making this a simple project that builds a static library it can be used as either a subproject using git submodules, or can be built into a project using cocoapods.