Adding a VPrintf function to buffer

While replacing static buffers I found out that we use vprintf a lot, therefore I implemented one in Buffer.
Unit tests are included.