CommandMap interface added.

CommandMap interface shares the same behavior as Ribbon interface.
Merge branch 'master' of https://github.com/jming/cs279

Conflicts:
	ribbon.js