test task for charge and rspec

# I used scope for generalized methods
# tried to use less number of instance variables 
# To improve performance is to cut down on the number of SQL queries. I did this through eager loading
# I used cucmber for view level testing
# I used rspec for controller testing.

Looking forward for your feedback