Fixed bug in Compiler.as with arguments variable and added missing
global functions in GlobalLib.as.

Change-Id: Ied5b1c7b5f3f57d7bfa1397601c29e8d9b520ee4
organize imports

Change-Id: I40bef4e4e6ab72d9feabf9d2a0f03f1a9eb3ad56
added test code

Change-Id: Ieb631d1746f6157993ec8a1eb55e6ec9cfc1d169