Release strings at end of String.GetLine and String.Append unit tests

There are also assertions added to test that the initial string length
is the correct length.
Merge pull request #270 from caitp/release-strings

Release strings at end of String.GetLine and String.Append unit tests