additions to collision detection + response

added in some proper SAT tests, refined response in playerBehavior
I'll probably switch to using Box2D but for the time being physics is much improved