[Tizen] - Device.js

add model field
(name is not yet removed)
[Tizen, Tizen SDK 2.0, Devices.js]

re-implement Device.js, getDeviceInfo() for Tizen SDK 2.0
[Tizen, Tizen SDK 2.0, Device.js)

1 - getDeviceInfo method of Device now fires channel.onCordovaInfoReady
2 - Device Constructor calls getDeviceInfo()
[Tizen, Tizen SDK 2.0 (Magnolia)] - Accelerometer

Adapt Accelerometer, namespace, variables names, cleanup
[Tizen, Tizen SDK 2.0 (Magnolia)]

Adapt Battery to Magnolia
New Tizen SDK Api have introduce one changes "Power" was changed for "BATTERY"
perform some cleanup
[Tizen, Tisen SDK 2.0 (Magnolia)]

Adapt Camera to New SDK

Application Service manager was renamed ApplicationControl
Applyed related Changes
plus some cleaning, renaming ...
[Tizen, Tizen SDK 2.0 (Magnolia)]

Adapt to new SDK
using CompassHeading object , and constructor
plus cleaning, a few renamings
[Tizen, Tien SDK 2.0 (Magnolia)]

adapt to new sdk

System Info API where changed

now the information is obtained threaw a synchronous call, getCapabilities()
returning a SystemInfoDeviceCapability variable

name is deprecated

device version = deviceCapabilities.platformVersion;
device uuid = deviceCapabilities.duid;
device model = deviceCapabilities.platformName;
[Tizen, Tizen SDK 2.0 (Magnolia)]

Adapt to new SDK

Cordova Connection manager

Constants where change to majuscule
plus cleaning, renaming etc...
[Tizen, Tizen SDk 2.0 (Magnolia)] - Notification

Add basic support for Prompt() based on using window.prompt()
[Tizen, Tizen SDK 2.0 (Magnolia)] - Notification

update
[Tizen, Tizen SDk 2.0 (Magnolia)] - Notification

Change a callback name in a temporary console trace
[Tizen, Tizen SDK 2.0 (Magnolia)] - platform.js

added, in comment, for now the load instruction for plugins
related to Cordova plugin evolution
[Tizen, Tizen SDK 2.0 (Magnolia)] - Contacts API

Adapt the conversion functions both ways
 - cordova to tizen contact object
 - tizen to cordova contact objects

On the tizen side
 -"categories" were removed
 -Several fields were renamed
 -"isdefault" fields were added to mark as favorite (previously it was a 'pref' in a types array
  (ContactPhoneAddress, ContactEmailAddress, ContactAddress)
 -"organization" was replaced by an array of "organizations"
 -"note" became "notes"
 - the addressbookId was added in the Contact object, so we can get the container address book rather that hoping, or guessing, finding it in several address books when there are several address book on a device or reducing to the default address book
 - ContactName object is now having a suffix that can be mapped to cordova contact name object suffix
[Tizen, Tizen SDK 2.0 (Magnolia)] - ContactUtils.js

fix white space warning
[Tizen, Tizen SDK 2.0 (Magnolia)] - several changes

add a few console.log ( they will typically be removed from final release)

revert exec to previous version so file can work.(inspiration from bada relying on using require and a plugins array was not a good idea
as it was leading to have circular reference that cound not get solved)

added missing function for files  and file transfer( there are not yet implemented  and mark with my Trigram PPL, as to be implemented , often i just copy an existing similar function )

Added comments in File and File Transfer
[CB-3393] plugin_loader fix for pages in subdirectories.
Merge branch 'master' into magnolia

Conflicts:
	lib/tizen/plugin/tizen/Device.js
[CB3396] [Tizen, Tizen SDK 2.0 (Magnolia)]

remove several console.log messages
(keep them in comments for now)
[CB-3396] [Tizen, Tizen SDK 2.0 (Magnolia)]

remove several console.log messages specific to tizen
(keep them in comments for now)