update docs, update Command, update Regex, add System.OS

Docs switched to a more lua-friendly system, so that they may more
easily generate documentation from a lua-based system.  This allows a
fully lua-based documentation system, which would be easily pluggable to
generate any kind of documentation you wish from any platform, and
easily extend with user documentation if necessary.