Fixed Terminal object

* Terminal.redirect now returns previous redirect object
* Terminal.current now actually returns something
* There is no term.setTextScale so there is no need for
Terminal.setTextScale
* Added Terminal.isColour - the UK version of the function
Changed the behaviour of System.write

the native 'write' function only supports one argument: a string to be
written on the screen.
Added Path:getDir

* Added Path:getDir
* Fixed String:new
Fixed some buggy code

* Converted any String objects into Lua strings found in the arguments
in Peripheral.call function
* Added a filter function argument to Peripheral.find
Added error handling for Files.readAll
Casted from Lua string to SEE String and vice-versa
Removed unnecessary 'while true do' loop
Forgot to close the handle
Revert "Forgot to close the handle"

This reverts commit 16896a780d2ea38d9ab69426a46695690f52a043.
Update your license!
Added 'type' field in the event
Merge pull request #52 from MKlegoman357/master

Some bug fixes and improvements