Add history traversal and page up/down.

Also make all defined functions run in pcall and unpack arguments and fix a couple bugs.
Fix main.lua to use textinput instead of textInput.
Added clearCommand, invokeCommand, and flush

You can now call and remove commands from the console as needed, also
fixed a() such that anything passed in is automatically tostring'd.

Flush will write the entire log to disk, very useful for debugging.
Might be worth doing automatically when the game quits or the log has
had more than a certain number of lines added to it.
Use positive07's arrow polygons.

Will start merging other stuff later.
Merge branch 'master' of https://github.com/shakesoda/love-console into shakesoda-master

Conflicts:
	console.lua
Merge branch 'shakesoda-master'