Merge pull request #28 from kamui/optional-namespaces

Add documentation example for optional namespaces
drop support for ruby 1.8.x