Adding MPL to reference receiver app

Change-Id: Id3470f25ccc83091583a63f8d72061828c1cb643
Bug fix for state transition

Change-Id: Ibba4efcc07a2c278553cb977072036c4c4eb2c0c
Fix inivisiblity hookup

Change-Id: Id75f8ddc59dbb864c973b17af7c7e6f29bb6d5bb
Fix gjslint warnings/errors

Fixed warnings/errors reported by gjslint
$ gjslint --strict --jslint_error=all *.js

Change-Id: Iff6e19dcde6e60c62df2cc9d06307b4a3a3c8f99
Fix closure compiler warnings/errors

Change-Id: I9851388524d75bc993c71803c0004712c034474f