Added entity center divisor for collisions

Added in test cases at the bottom to see the collisions in action. Also
added in a divisor for whether we want to base the entity from the
center.
Merge remote-tracking branch 'origin/master'

Conflicts:
	classes/base-entity.js