[BUGFIX] Update script and TYPO3 6.0

Make the update script compatible with TYPO3 6.0
by using the new API for writing to the LocalConfiguration.php.

Resolves: http://forge.typo3.org/issues/45402
Merge pull request #1 from fsuter/master

Make the update script compatible with TYPO3 6.0