Merge pull request #113 from brian-team/devices2

Starting with the devices system for standalone, major changes to the code generation framework
Merge branch 'master' into devices_java