adding basic support for pyramid

Created a resource base in the vein of the django and flask resource classes.