Add the -extdir compiler option automatically if there are native extension dependencies.

This deprecates the extDir compiler option. 
With this commit its possible to define native extensions just as any other dependency, for example:
`merged group: 'com.distriqt', name: 'inappbilling', version: '2014-10-31', ext: 'ane'`