Break up Promotion index sql for the tableview

This follows Site's admin Account/Index.php naming conventions.
Merge pull request #16 from isaacgrant/promo-index-query-subclassing

Break up Promotion index sql for the tableview
Standardise getSQL case
Merge pull request #17 from isaacgrant/promo-index-query-subclassing

Standardise getSQL case
Move promotion code generation into a reusable object.
Add missing license to docblocks.
Merge pull request #18 from isaacgrant/promotion-code-generator

Move promotion code generation into a reusable object.
Fix updating OrderCommissionTotalView as part of a create script.

Cast the returned order total so that column types do not change, and replacing the view works.
Merge pull request #20 from isaacgrant/how-do-you-solve-a-problem-like-maria

Fix updating OrderCommissionTotalView as part of a create script.
Merge pull request #19 from isaacgrant/add-license-to-docblocks

Add missing license to docblocks.
prepare for release of 0.1.4 | package party