If you want to remap your notebook's or external keyboard, there's an excellent and free choice available: Karabiner from the friendly Takayama Fumihiko.
Upon upgrading OS X yesterday, I found it worked straight away in Yosemite as well.
Besides remapping the obvious keys, if you would like to remap that useless Caps Lock key on OS X, get Seil.