Improve scriptengine.cpp, migrate functions over to QScriptContext

Migrated sys.sendAll, sys.sendMessage

Extra shorthand names:

writeToFile          -> write
appendToFile         -> append
deleteFile           -> rm
getFileContent       -> read
getCurrentDir        -> cwd
makeDir              -> mkdir
removeDir            -> rmdir

Drafted: sys.broadcast