Support for Mobile Websites

Also fixes random code issues like missing waits() and malformed regexp strings
Update NativeScript test project resources to 0.4.0
IProject definitely is not the right place. I shall consider where it belongs. Although, guarding a function named prepareCordovaPlugins in an if checking whether it is a cordova project looks sane to me.