Extend docs mock to support & and bool()

Permits API docs to build correctly (assertion in new MMAL headers was
failing)