Added support for duration-based coupons (i.e. bonus months)

Database schema changes and cleanup to support bonus month coupons
Model changes to support new db schema
Increment Rails version to 3.2.17
Increment gem version to 1.0.0

Rewrite with concurrency as a SQL query to avoid locking