ALLJOYN-2498: Convert "= 0" to "= NULL" per coding standard and remove redundant #if's

Change-Id: I7a4310ceba16e7079dcdb210ef355792751eb401
ALLJOYN-2498: Whitespace readability changes

Change-Id: I0494235852dbb11bd37e32b647d5c01175388ac4
ALLJOYN-2498: More convertions of "= 0" to "= NULL" per coding standard

Change-Id: I05991e260b6dcfb796d79e2ac31af995de76df4c
ALLJOYN-2498: Fix build warnings and logic cleanup.

Change-Id: Ie70f90e4821f7195e3fc0729291473718a712476
ALLJOYN-2058: Add 'reason' parameter to SessionLost signal.

Change-Id: I62bd9d237f8a80207d2b224d7517844216725b30
ALLJOYN-2506: Prevent JS code from calling methods on destroyed BusAttachment

Dynamically add and remove BusAttachment operations and attributes (excluding
create() and destroy()) so that attempts by JS code to access a destroyed bus
attachment will result in a JS exception instead of a plugin crash.

Added a test case to verify this:
BusAttachmentTest.testBusAttachmentAccessAfterDestroy

Change-Id: I75642c02f1b5991d0677d6761c3523d02b1aa6ff
ALLJOYN-2084: Add RemoveSessionMember()

Change-Id: Ie18bc82ff0338d143171dc5190f6a78e8de2bfe3