Several fixes related to piece movement

* Comparing postitionAsString values using correct method instead of
  pointer equality
* Removing objects from the board properly