Refactored methods and added documentation.

* Implemented Yardoc
* New rake yard task
* Removed the 'action' parameter for caclulating check digits