Various minor cleanup for tip plugin.

From a closer reading. Includes better
CoffeeScript style.
Complete tip APIs documentation.