test cases added to validate class based views

* verifies that class based views using either flask.views.View,
flask.views.MethodView or flask.ext.restful.Resource have rate limits
respected when decorators are provided using the class 'decorators'
variable.