Update base.c for new cfg80211_chan_def struct

There is now a new struct that needs to be referenced *sigh*
Debug.c remove all errored/warninged code from API change

This shouldn't break the functionality of the driver since it is debug
functionality, but nonetheless these call should be fixed so they
compile.

Specifically our problem children are create_proc_entry() and
create_read_proc_entry() which are now deprecated and removed from the
kernel header file.

Possible solutions:
1. Use the replacement functions instead (different arg list)
2. Copy these functions from an older kernel file (may cause weird
behavior)
regd.c fix warning by switching type to void*
regd.c remove extra two args to freq_reg_info()
core.c Point to new struct
Use new helper function to get channel type
core.c update name of enum type
trx.c update for new kernel struct
phy.c update for new helper function for channel type
trx.c for several models, update to new kernel struct
update last trx file for new kernel struct
Makefile call script to check branch before build
add script to verify the correct branch
Add conditional so we don't break make if the script isn't there
Merge remote-tracking branch 'origin/ubuntu-13.04' into ubuntu-13.10
Fixed status check.
Fixed status check.
Merge remote-tracking branch 'origin/ubuntu-12.04' into ubuntu-13.04
Merge remote-tracking branch 'origin/ubuntu-13.04' into ubuntu-13.10
Merge remote-tracking branch 'origin/ubuntu-12.04' into ubuntu-13.04