initial import of libnova's trunk (pulled 4/26/2013) with patch to build
for iOS with XCode 4.6.1