Merge pull request #30 from monishdeb/CRM-13311

CRM-13311 fix
Append "Copy of" to the description of cloned discount to tell it apart from original.
Fixed problem applying discount labels to 'automatic discount' memberships; automatic discounts are used for discount triggering only.
Merge pull request #31 from rnao/clone-desc

Append "Copy of" to the description of cloned discount to tell it apart ...
Update README
Fix for issue: Discount code which is only set to apply to certain priceset options for events, is being applied to everything in the event.
Merge pull request #36 from rajeshrhino/master

Fix for issue: Discount code which is only set to apply to certain price...
Remove a few require onces
fix coding & whitespace issues
fix unterminated spans & empty ts
remove require_once, &
remove extra <br>
Merge pull request #40 from eileenmcnaughton/master

minor tidy ups
remove require_once calls
towards adding event_type_id filter
convert autodiscount field to entity-keyed json
update discount form to support multiple autodiscounts
fix discounts to work with extended event filters
fix some whitespace
extract contact_id retrieval into a separate function