Added key state to avatar data, started on chat entry field.
Merge branch 'master' of https://github.com/worklist/hifi

Conflicts:
	interface/src/main.cpp
Fixed warning in starfield code
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Fleshing out the chat entry widget.
added compareOctalCodes() and support for null octal code in printOctalCode()
added some helper functions for debugging and for improved voxel protocol
- added outputBufferBits() which will output an entire buffer as debug bits/bytes
- tweak to outputBits() to allow caller to ask for NewLine or not
- added insertIntoSortedArrays() which keeps a set of arrays sorted by a key
added typedef for location enum
added isLeaf(), isInView(), and distanceToCamera() helper methods
added a test routine for testing insertIntoSortedArrays()
adding some temporary debugging code
Code cleanup, change readBitstreamToTree() to support multiple trees, first cut at new loadBitstream()
- some small tweaks to cod to match coding standard for pointers
- changed readBitstreamToTree() to handle multiple trees in a single packet
- first cut at new version of loadBitstream() which is currently not in use
Merge branch 'master' of https://github.com/worklist/hifi into view_frustum_work
some cleanup
Merge branch 'master' of https://github.com/worklist/hifi
Gravity is ON near origin, off in space, and a gravity field can be created with getGravity()
Small speed/cleanup to thrust setting
Changed velocity to be dvec3
tiny change