Implemented moving objects between layers.
Improved layer handling.

- Select the correct layer for duplicated, clipped, and resized objects.
- Select the correct layer for brushes belonging to brush entities (no mixing of layers within brush entities).
Adapted test cases for adding and removing objects.
Added context menu to layer list in map inspector.