Removing inline scripts from mobile-spec to make it compatible with FFOS priveleged type apps (i.e. using contacts) added addListenerToClass function which is used to connect buttons with test functions. Please check it on all platforms and r+ if working. moved test initialization to JS file (for DRY and privileged apps compatibility)
… openWithScript tests. github: close #53
Broken by previous commit.