Performance improvement on count location data.
remove old duration field entry, #27186
optimize event queries, RT#28978, possible MySQL band-aid, RT#28978
Merge branch 'master' of git.freeside.biz:/home/git/freeside
#28898 Cisco Unifed Call Manager CDR format
perldoc cleanup
fix zero call duration appearing on invoices when upstream_simple rating is used, #28959
commission reporting optimizations, RT#28964
add option to omit considering late paid invoices from "paid invoices" for purposes of commissions, RT#28963
add state and salesperson to customer accounting summary, RT#24112
remove ancient code
optimize package list with lots of packages, RT#28526
optimize package list with lots of packages, RT#28526
commissions on package margin, RT#24086
optimize package list with lots of packages, RT#28526
config to turn on term discounts feature, fixing perf problems entering payments / manually processing cards, RT#27038
check old_password if passed to self-service API, require with config setting, RT#29015
fix agent type selection, RT#28804
fix CDR pre-rating w/unlinked phone numbers, RT#27267
fix CDR pre-rating w/unlinked phone numbers, RT#27267