Added simple beetle context class.

And used it when registering plugins.
Merge pull request #19 from cknv/better-cli-2

Added simple beetle context class.