ls enhancements

* Implemented directory, human-readable, numeric-uid-gid, and reverse flags.
* Fixed a bug with printOneLine not working correctly sometimes.
* Lots of improvements to existing code