3dapi: small changes

- Added some javadocs
- Make depthmask independent of depthtest
- Add modelbatch setcamera, flush and ownContext