Scene.cpp: optimize component type check (type ID over type name), fix typo in variable name, mark down TODOs for duplicate code.
FunctionDialog fixes: Included also superclass signatures for function invoker; Functions and Actions dialogs made as Qt::Tool. RE #694
Fixed escaping backslashes on Mac for application and version info
Set Mac OS X version 10.6 as the deployment target by default
Make startupOptions contain only attributes that are inside config XMLs or command line, and store config filenames into separate QStringList. Preserve order of commands, i.e. if --config some.xml is encountered, it will serve as a placeholder for all commands that it contains (consider the case of --plugin SomePlugin --config viewer.xml --plugin OtherPlugin)
Copy licences of dependencies; Replace minimum Mac OS X version option to 10.6 for g++-macx.conf to avoid build errors on qtscriptgenerator later on
Make OpenAssetImport have a single converter instance per mesh asset that needs to be converted
Removed #include <QDebug> in OpenAssetImport.cpp
Remove QString forward declarations from Tundra code base.
Changed CMake minimum required version to 2.6.0 and above, policy CMP0005 set to new and got rid of escaping preprocesor definition values
Also ensure EC type name with prefix in Entity::Component(typename, compname) signature
Make EC_DynamicComponent::RemoveAllAttributes call IComponent::RemoveAttribute in order to get rid of duplicate code and to guarantee proper deletion.
SceneStruct: Fix Export... functionality to not crash. Parsed empty asset refs from the entities and crashed on null transferptr. There are other problems with this implementation that I documented with @todo @bug. in SceneTreeWidget::ExportAll().
Scene Structure window: possibility to show attributes, 4 modes available: None, Assets, Dynamic and All. Fix bug that caused dynamically created AssetReferenceList not to appear. Also fix a infinite loop bug in SceneStructureWindow::AddAssetReference (now AddDynamicAttribute).
Merge remote-tracking branch 'remotes/origin/admino_tundra' into admino_tundra_ogre1.9

Conflicts:
	tools/OSX/BuildDeps.bash