mavgen.py now uses the Choices type for optparse. This allows for more sensible errors. It also moves the language name checking towards the start, speeding up feedback and simplifying later code.
Defer loading all language-specific generators until they are actually chosen. This does a couple of things:
1) Problems with language-specific generators will not break usage for other languages
2) Slight speed up and memory savings as less Python code is included.
Merge pull request #111 from Susurrus/language_loading

Defer loading all language-specific generators until they are needed.
Merge pull request #110 from Susurrus/mavgen_option_fix

Display all supported languages as part of command line options
Added custom AutoQuad definitions and MAV_AUTOPILOT_AUTOQUAD enum;
Adding mavlink version # to AQ definitions xml;
Merge pull request #115 from AutoQuad/33d0f4c0900179fbefbd9f5d91ca05d79d2398fe

Add AutoQuad project (rebased, try 2)
Fixed error from gen_js.sh when passing --lang into mavgen.py: switched to "JavaScript" from "javascript". Was breaking when following mavlink/pymavlink/generator/javascript/README.md instructions to build using "make -f javascriptMakefile". The output error was:

 ./gen_js.sh
 Usage: mavgen.py [options] <XML files>

 mavgen.py: error: option --lang: invalid choice: 'javascript' (choose from 'C', 'CS', 'JavaScript', 'Python', 'WLua')
Fixed require statements in test code which incorrectly included ".js" extension to implementation library.
Merge pull request #117 from cbumgard/master

Fixes for JavaScript (Node.js) generator build & tests