Replacing vp9_{write, write_literal, bit} macros with functions. Also removing BOOL_CODER and using vp9_writer instead. Change-Id: I31d1ec661872f7eb1fe869607b6ed0ebfbb03e01