Fix bug with map: out of bond
Validate x and y in putMob, putPlayer and putItem actions

Also add tests for x and y validating