updated to cordova 2.8.1, smarter rakefile