Added in default_where variable which is supposed to hold a default month value inside it so
that initially all tiers will contain the current month's demos/schedules
Made some small changes and improvements where necessary
Placed brand_id where necessary to hold brand_id info when a brand is logged into br_mainpanel
Fixed file links to use window.location.href
Update file links for viewing replacing with button

MAJOR CHANGE :: Now instead of pulling in the income records from the invoice within the database,
each time it is viewed in the actual table in Income Records or at the top of viewing an invoice,
you will be seeing freshly calculated from rep_pay, expenses and any other factors from the
completed demo.

Took out inclusion of unecessary CompletedDemos class (which was also including the very file
that was including it haha, and used straight db pull down)