added Ape.writefile
revived Ape.readfile
improvement to Ape.system
corrected malloc into xmalloc
refractored serveral Ape methods into a new class (Os)
fixed bug with switch case with a missing break statement.
added a rudimentary status method. This can be improved/extended.
1) changed Ape.Os namespace into Ape.os namespace. 2) improved documentation
Corrected docstrings for parameters and return code
Added the JsDoc comment tags to the spidermonkey module