First step in adding documentation to dartcodedb

Also try fix some code at the same time.
Added useCache documentation
More documentation :)