Update openwebif.js

PressMenuRemote(code) divided to 2 functions for better controll over more menuitems.
Times for grabbing are not increased more, but grabing is called after last command only.
Grab: Arbitary code execution

Grab suffers from arbitary code exeution because it doesn't validate arguments passed to grab.

Proof of Concept:

http://IP/grab?format=jpg&r=10000%20||%20echo%20root:12345%20|%20chpasswd%20||&mode=all&timestamp=12345
Merge pull request #116 from athoik/security-fix

Grab: Arbitary code execution
add option to set authentication for streaming
more mobile support (from persianpros)
more xtrend support (from persianpros)
close #120
grab: Use JPEG quality setting "95" instead of "100"

A setting of 100 is purely academic, it creates bigger files but pixels
hardly differ more than a single lsb compared to a 95 setting.
grab: Avoid evil os.system, run async, release resources

os.system uses too many resources, eConsoleApp is much safer.
This also makes the request run asynchronous.
Clean up the temporary file after completion.
grab: Don't invoke a shell

Pass arguments directly to the subprocess, and don't start a shell to
parse them first. This also prevents shell injection attacks, because
the arguments are passed on directly. It's also faster because it
avoids an exec call.
Merge branch 'E2OpenPlugins/master'