Had an issue with __IPHONE_4_0 being defined in an OS X external and fixed an issue when writing parameters for C etc functions
Some significant changes to get DEPS working right
Merge remote-tracking branch 'runrevmark/feature-externals_api_v5' into feature/externals_v5

Conflicts:
	lcidlc/src/InterfaceGenerate.cpp
Merge pull request #5 from montegoulding/feature/externals_v5

Feature/externals v5