Merge pull request #2 from darkxst/master

Update patchset from Bug 812265.
Bump HG revision.
Minor patch cleanup.
Remove #warning line about JS_VERSION. It's annoying.
Add patches for OpenBSD support.
Update patches and status