Conform to new StringBuffer method naming
Depend on v0.4.2 of unittest
Merge with upstream
Fix minor type warnings
Merge pull request #19 from filiph/master

StringBuffer has changed method names