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 :: Income Records table and statement at top of invoice view now both can
refresh their datapoints to retrieve latest information regarding things like net,tax,
rep pay etc... If they have been changed.

New defined setting (INVOICE_AUTOREFRESH_DATAPOINTS) see config
Add refresh data points button on Income Records

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)

Made store contact display message upon adding, and also stay open (eventually the generalized
object template system will included this in all adding and/or edit popups

Made refresh data points remote ajax based (display_ui) income records

Entire page reloads upon refresh of data points
Fixed bug with pay adjustment functionality not putting in correct value for empty (was expecting noselect
it gave 0.00 upon being empty because of the number conversion), now checks for empty instead.