[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