Fix python invocation for mavgen (python2)
Use external script for pymavlink installation (as catkin).

Some code from catkin build system used to fix installation process.