got not jumping logic for collisions working
correct game logic for collisions implemented
got rect based collisions with abitary sized sprites and hitboxes working
start of more generalised collision system
fixed player-level and player-monster collisions
added rudimentary bullet (no collision detection yet)
got bullet collisions working
add some comments
recompile js
Made changes based on feedback:
* renamed overlapHitBox, which is now not exported
* routines now take an array of Enemyentities, no reference to 'monster'
* updateBullet routine now returns an array of objects the bullet collided with (empty if no collisions)
* unused code removed
updateBullet function now returns collision points
Merge pull request #1 from jpmit/fixrect

Fixrect
moved aabb test to it's own module
hitbox width and height now specified in json file
flattened rect object into physics entity
make hitbox declartion optional (use rendering dimensions if unspecified)
forgot to compile changes
overlap-aabb works directly with boxes now
moved inHitbox to seperate module. fixed default values for entity hitbox
restored clamp to move entity code