Fix typo: successCallback should be errorCallback

Fix setApplicationIconBadgeNumber returning errors.
made code more readable and better :-)
Bump version after some miner pull requests

Conflicts:
	plugin.xml
Eliminate need for GET_TASKS permission

* Don't check if we are in the foreground - that happens anyway in the
sendExtras() method (https://github.com/phonegap-build/PushPlugin/blob/master/src/android/com/plugin/gcm/PushPlugin.java#L111)
* Only display a message if the message has text to be displayed

Fixes #52 and undoes #3
added a missing comma after errorHanlder
Fixes Cordova error when trying to open the app from the notification bar.
Sets default notification sound, vibration and lights and removes useless method.
enable syntax highlighting for code examples
use tabs instead of spaces for indentation (to be consistent)
Added getString method to setContentTitle and setTicker

ContentTitle and Ticker can now be set from the GCM server via the
"title" field in the "data" parameter (appName is no longer hard coded).
added foreground boolean
initially app is in foreground
do not add notification if application in foreground
Don't use two different bundle ids
Death of a bad idea
getString should be extras.getString
Encapsulating strings in single quotes is not valid JSON. Change to double quotes
Remove trailing comma for foreground flag and convert to double quotes
call callbacks
#85 No notifications in android when the app is closed

Allow the plugin to know when the app is no longer in foreground so that it may receive push notifications