Added documentation tool (cdoc)

Currently only collects comments in the format "\n--!([^~][^\n]*\n)"
with file tokens.
Renamed all files that are libraries to *.lua
Added .gitignore for the new documentation output