Add a resource base class.
Lets add helpers as we go along.
Merge branch 'rewrite' of github.com:armet/python-armet into rewrite