Adding documentation to the vislib

This pull request adds long overdue YUI documentation as well as comments for almost every file, class, method, function, etc in the vislib. This was my first time using YUI to write documentation, so please have a thorough review to assure best practices are being followed.

This pull request also includes some code refactoring in the components directory.