IDE: moved creating new unit source to sourefilemanager, it needs editor options

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40789 4005530d-fff6-0310-9dd1-cebe43e6787f
codetools: UseTabs

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40790 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: pass BlockTabIndent to codetools

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40791 4005530d-fff6-0310-9dd1-cebe43e6787f
codetools: started GuessIndentSize

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40792 4005530d-fff6-0310-9dd1-cebe43e6787f
tests: GuessIndentSize

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40793 4005530d-fff6-0310-9dd1-cebe43e6787f