Update appframework.ui.js

in case of robustness, plz add the parameter af for the  Immediately-Invoked Function Expression(IIFE).
block panel when side menu is open

alternate fix for issue #468

adds a mask on main panel when side menu is open and blocks scrolling, tapping on it will close side menu.
Merge pull request #481 from LeoYuan/master
fix a typo, change `offsetheight/offsetwidth` to `offsetHeight/offsetWidth`

you will always get `undefined` via af(document).width()/af(document).height() in the meantime.
fix a bug for jsonp request

### bug description
since a new case clause has been added to the settings.dataType-handling block, unfortunately, this branch will break the original code, the following code block which is used to handle settings.data will never get a chance to run.

### code snippet which reveals the bug
```
af.ajax({
  url: 'http://sample/do_query.jsonp?callback=?',
  type: 'get',
  data: {a: 1, b: 2},
  dataType: 'jsonp',
  success: function(data) {
    console.log(data);
  },
  error: function() {
    console.err(arguments);
  }
})
```

### how to fix?
switch the settings.dataType and settings.data code block.
Merge pull request #492 from LeoYuan/patch-2

fix a typo, changed `offsetheight` to `offsetHeight`
Add $().contents() api

Fix modal windows replicating dom nodes and NOT moving them.
changed the returned value of width()/height() back to a number.

**Note: this may not a bug, but I think there is a better solution to handle the unity thing.**
### solution decription
there was [a older commit](https://github.com/01org/appframework/commit/a94fdadcb39e64dd7e5d4164384ad4e36bf2bdc5) from kyo-ago, I did not figure out why such a change has been made, after modification, the users who are familiar with jQuery will be strongly confused, and didn't see any benefit from that change.
Here is the [issue](https://github.com/01org/appframework/issues/483).

### how to do it better?
just convert the variable `tmpVal` from string to number via `+tmpVal`, so only number will be returned from `width()/height()` now, everybody's happy.
apply mask only if no fixed sidemenu
fix a bug for browsers which are not based on webkit rendering engine.

### bug discription
the `header.innerHTML` should be changed to `this.header.innerHTML` in line 1683, it will throw an error which **header is not defined** if you are not on Webkit, because the variable `header` hasn't be defined at all, the Webkit provides a shortcut for `document.getElementById(someId)`, that is `someId`, so, you're accidently correct on Webkit, if not, the code will break.

### how to reproduce?
test on any platforms rather that Webkit.

### how to fix?
changed `header.innerHTML` to `this.header.innerHTML` in line 1683.
Merge pull request #497 from LeoYuan/patch-4

fix a bug for browsers which are not based on webkit rendering engine.
Merge pull request #494 from LeoYuan/patch-2

changed the returned value of width()/height() back to a number.
Merge pull request #493 from LeoYuan/patch-3

fix a bug for jsonp request
rebuild files from PR
$('body').append() will never execute script.

**Note: this might not be a bug, if you think it is a good idea to execute script in $(selector).append() just as jQuery does.**

### bug decription
the script which is appended to the DOM will never be executed.

### how to reproduce?
try this
```
af('body').append('<script>alert(1)</script>');
af('body').append('<div>this is newly added.</div><script>alert(2)</script>');
```

### how to fix?
the code below never get a chance to run.
```
if (obj.nodeName != nundefined 
    && obj.nodeName.toLowerCase() == "script" 
    && (!obj.type 
    || obj.type.toLowerCase() === 'text/javascript')) 
{
    window['eval'](obj.innerHTML);	
}
```
**because the obj is either a $afm instance or undefined, so the obj.nodeName will always be undefined.**
so I just changed the code logic to make it works, check it out.

a little more advice: if you do think it is really not a good idea to support this feature due to the performance of af, then just discard it.
Merge pull request #498 from LeoYuan/patch-5

$('body').append() will never execute script.
Merge pull request #490 from krisrak/fix_468_alt

block panel when side menu is open
rebuild min/src file from pull requests.
fix for pull-request #490

changed touchend to click
used 768 value instead of $.ui.fixedSideMenuWidth which was only defined in slidemenu plugin
According to the docs, instance method `.delegate`'s argument `data` is optional, but the truth is `data` is required. this PR just fixed it.
And some slight modification for `for` loop execution efficiency.