ios-ntp as a static library (and fix demo project)

Just configured a static library to ease mixing it with ARC projects and such.