Upgrade to cordova 3.5, and settle incidental issues.

This commit addresses three concerns:
- Upgrade cordova to 3.5.0
- but upgrade cordova android to 3.5.1, to account for security issues -
  (see http://cordova.apache.org/announcements/2014/08/04/android-351.html)
- work around bug in older bower which causes initial npm install to
  fail, by going to more recent bower version.

I will next need to simplify BrandPackage.js a bit, to ensure it
sustains the particular cordova versions we specify.
Add the specified platforms, rather than only those that were removed.

This way we can ensure that the platform versions are as specified.

We'll need to remember to track the version specifiers in this script,
or remove them, as the version discrepancies (for the security advisory
- http://cordova.apache.org/announcements/2014/08/04/android-351.html)
are over.
Merge pull request #565 from SpiderOak/cordova-and-incidental-updates

Cordova and incidental updates