fix string buffer methods
use parseInt instead of Math.floor due to wrong conversion for negative numbers
add tests from: https://github.com/Kenobi-Time/openjdk8/blob/master/jdk/test/java/time/tck/java/time/TCKDuration.java#L2642-L2678
npm init, add npm test and dependencies