Improved formatting.
Added tasks to create rdocs/ri and to run tests
Added RUBY_METHOD_FUNC macro.
Specified that README.md as main doc file.