Adding writeFile logic for "file" plugin
- Added the (most important) `share` function
- Renamed SMS phonenr param to indicate you can pass multiple by separating by a comma
- Renamed all image params to file, because any file can be shared
- Fixed `shareViaEmail`, because it was an unadjusted copy-paste of `shareViaSMS`
- Added `shareVia`
- Added `canShareViaEmail`
- Fixed `canShareVia` (subject was missing)
- Removed some now obsolete TODO's/notes
Merge branch 'master' into plugin_file_writing

Conflicts:
	src/plugins/file.js
add sms plugin
fixed indent
use promise instead of callback function
rm cb from params
Removing "options" parameter, useless for cordova call
Adding dateToString globalization wrapping
Adding stringToDate globalization wrapping
Adding getDatePattern globalization wrapping + some missing commas
Adding getDateNames globalization wrapping
Adding isDayLightSavingsTime globalization wrapping
Adding numberToString globalization wrapping
Adding stringToNumber globalization wrapping
Adding getNumberPattern globalization wrapping
Adding getCurrencyPattern globalization wrapping
Change to geolocation, orientation, and motion APIs
Flashlight in demo
Merge pull request #97 from EddyVerbruggen/socialsharing

SocialSharing plugin wrapper fixed and extended