Convert build tool to grunt

Also converting to yui-doc for documentation