bson: add convenience macros for appending using string literals.

strlen(literal) compiles out on GCC and Clang, so by using these macros
you save some typing and cleanliness and get a bit of a speed improvement
over passing -1 for length.