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