Fixes needed for 3.1 and 3.4

- addWWWForMobileSpec needed < 3.6
- account for difference in cordova-mobile-spec structure ('www' folder
  added in 3.6)