ALLJOYN-2004 Made Variant.getSignature public

Unit test added to verify the functionality of the getSignature method.

Change-Id: If3b201ed152d626f2b6b81d2b02b49a8a7fbe557