fix warnings and removed some asserts

* removed lastAttemptedSubTree variable in octree server since we aren't using it.
* changed a bunch of asserts to debug messages since they produce warnings on unix and because the warning messages are a more graceful failure.
* fixed ByteCountCoded<> which was using T when it should have used int