Copter: cleanup some bit if tests to be clearer

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
AP_Common: added BIT_IS_SET() macro

makes bit mask testing safer on PX4

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
Copter: use BIT_IF_SET()

this should fix the problem with simple mode on PX4

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
AP_Limits: fixed return of AP_Int8 parameters from object

we should return the base type, not the parameter, or callers could
use set on the result
build-PX4: changed the PX4 build to use CONFIG_C99_BOOL8

this fixes bool behaviour to match C99, which some of the APM code
assumed, including simple mode in ArduCopter
Rover: made a bit test clearer
TradHeli: change coll_out to int16_t

was incorrectly defined as an AP_Int16 parameter
autotest: added unpack_mp.sh script

used to generated
http://firmware.diydrones.com/Tools/MissionPlanner/upgrade
autotest: added APMVERSION to firmware.diydrones.com version
Plane: mark 2.72beta version
Rover: mark new beta version
gitignore: add more files produced by sitl testing
Copter: move update_commands to run_autopilot fn

update_commands was being run in the medium_loop counter but it is
easier to understand the flow of the code if it is consolidated along
with other autopilot calls.
Plane : AP_L1_Control : Replaced division by constants with multiplies and adjusted default L1 period to 25 seconds
Merge branch 'master' of git://github.com/diydrones/ardupilot

# By Andrew Tridgell (9) and Randy Mackay (4)
# Via Randy Mackay
* 'master' of git://github.com/diydrones/ardupilot:
  Copter: move update_commands to run_autopilot fn
  gitignore: add more files produced by sitl testing
  Rover: mark new beta version
  Plane: mark 2.72beta version
  autotest: added APMVERSION to firmware.diydrones.com version
  autotest: added unpack_mp.sh script
  TradHeli: change coll_out to int16_t
  Rover: made a bit test clearer
  build-PX4: changed the PX4 build to use CONFIG_C99_BOOL8
  AP_Limits: fixed return of AP_Int8 parameters from object
  Copter: use BIT_IF_SET()
  AP_Common: added BIT_IS_SET() macro
  Copter: cleanup some bit if tests to be clearer