Some small fixes, mainly for enabling commenting within Sublimetext.

Add Comments pref file (necessary for Sublimetext).
Include matching for period (.) in class name.
Fix small typos.