Fleshed out Buffer and Line classes.

Initial unit tests for both via Google Test.