Merge pull request #5 from JustinSGray/master

modification to model to support associating with a user for an existing registration
Merge github.com:JustinSGray/paddock
fixed #6
Merge pull request #8 from JustinSGray/master

just a test
added Coupon and Transation models, wrote one test for Coupon. Still need some more
Merge github.com:Paddock/master
created two new Field types, codefield and todayorlater field with custom validation in them. This puts the error
messages in the right place
changed field name from CodeField to CouponCodeField
wrote find_user function, used for showing user suggestions in input fields
added Dibs model, related to race_class, club, user
working #2. Wrote check_dibs method for club
added ability to specify class name in check_dibs
put club.check_dibs into logic for allowing number/class for an event. Addressed #2 -- Dibs should be able to be automatically granted after X events run with a club in a single season
started writting a Club method to check for new users who have earned dibs and update the expiration of anyone else
added the expires attr to Dibs. Expiration is just based a Club attribute. #2 mensions an algorithm where the lenght of dibs ownership is based on how long you have had it. This would be related to the difference between created and current expires. There is a place where this could be done in the function, but not implemented yet.
just added a comment
added linear growth date for expiration of dibs
expiration is now date of next event + 30 days, or 6 months if there is no next event
updated the assign dibs function so that dibs get extended when users run in races
started putting test data into testing model for test_dibs