* helm-source.el: Add classes for type function and command.
Add accessors for all defined types.

* helm-misc.el: Rewrite lacarte using helm-source classes.