the getSequenceNode returns the whole SeqenceNode instead of just targetActivity
minor improvements on comments
Merge pull request #3 from lbondaryk/amsproxy

Modification on amsproxy.js & unit test after code reviews.
Merge remote-tracking branch 'upstream/master' into API_IPC_initialization_550

Merge IPS->AMS (amsproxy).