Fixed directory structure and made general updates

Put the directory structure back to what it should have been.
Updates for latest Good Dynamics (GD) releases:
GD SDK for Android: 1.8.1145
GD SDK for iOS: 1.8.4327
GD PhoneGap Plugin: 1.8.31

Other improvements in practice too.