Fixed Deprecation in PHP6

Accessing Strings via Curly brackets will be deprecated in PHP6
http://php.net/manual/de/language.types.string.php#example-58 (above this example)

also i don't think it is as readable as brackets
Merge pull request #400 from Handfeger/master

Using square brackets instead of curly brackets to access string content