Fixed a compile error in VS2013.
Read the submodule branch option from Git 1.8.2.
Merge pull request #2022 from KTXSoftware/development

submodule branch option + little VS2013 fix