Update MAVLinkPayload.java

Need to type cast long and int on masks otherwise you'll get signed extension in java. I believe the byte order should also be swapped but I haven't had time to confirm for sure.
Update MAVLinkPayload.java

Added getLongReverse	

//getLong is broken when using uint64_t from APM's to pack bit commands
	//Created this to use on my custom message unpack so as to not break anything else with getLong downstream.
Update MAVLinkPayload.java
rename mode fragments
rename mode fragments
Merge branch 'NewUI' of https://github.com/jason4short/droidplanner into NewUI
WaypointEvent_Type

Craetion of WP events:
Upload & Download
DroneInteraces : WaypointManager Listener Interface

Create new interface
WaypointMananer : Add Listener

Create aprivate OnWaypointManagerListener variable
WaypointManager : BeginWaypointEvent

Add doBeginWaypointEvent for
1. Start of waypoint uploading -
doBeginWaypointEvent(WaypointEvent_Type.WP_UPLOAD)
2. Start of waypoint downloading -
doBeginWaypointEvent(WaypointEvent_Type.WP_DOWNLOAD)
WaypointManager : doWaypointEvent

Add doWaypointEvent method
WaypointManager : doEndWaypointEvent

Add doEndWaypointEvent method

Fix: DroneInterfaces
rename doBeginWaypointsEvent -> doBeginWaypointEvent (for consistency)

Fix: WaypointManger
update the listener calling method
WaypointManager : Read event implementation

Add:
1. call doWaypointEvent() upon receiving waypoints from APM
2. call doEndWaypointEvent upon receiveing the final waypoint from APM
WaypointManger : Write event implementation

Add:
1. Call doWaypointEvent upon uploading waypoint to APM
2. Call doEndWaypointEvent upon uploading the last waypoint to APM

Fix:
Change doWaypointEvent ‘count’ argument from short to int
SuperActivity : OnWaypointMangerListener Implementation

Add:
Stubs for Listener callbacks
Strings : wpevent reseource strings

Add
1. wpevent_upload - “Uploading mission to APM…”
2. wpevent_download - “Downloading mission from APM…”
SuperActivity: remove call back codes

Remove:
Call back does not happen here
NewUI implments in InfoMenu class instead.

Fix:
change sett to a better name fro consistency
InfoMenu: Read/Write implementation

Add:
1. New argument to InfoMenu constructor (drone, context)
2. Listener callback methods

SuperUI:
Supplied new argument to the InfoMenu new constructor
WaypointEvent_Type: new enums to cater MAVLink retry handler feature

Add:
WP_RETRY
WP_CONTINUE
WP_TIMEOUT
WaypointManager: Retry event trigger

Add:
1. retryIndex variable - to keep track of retry count
2. maxRetry variable - to set the timeout timer and as a reference to
event callback argument