Replace for-loop with LayerStore's each-function in applyState
Merge pull request #295 from chrismayer/todo-map-applyState

Replace for-loop with LayerStore's each-function in applyState
Fix event forwarding for layername changes.

Previously we wouldn't be notified when the name of a layer changed,
as we erroneously compared `e.property` with 'nathis' instead of
'name' inside of `onChangelayer`. I think the original cause of this
was a search and replace gone wrong in e2712c0ba605a9d35681d9560e3e.

This commit also adds a test for the event forwarding, so we don't
get bitten again.
Merge pull request #307 from marcjansen/event-name

Fix event forwarding for layername changes.
Use printservlet on port 80 in examples.
Use printservlet on port 80 in tests.
Refactor print-tests to use a shared resource.
Merge pull request #308 from marcjansen/print-port-80

Use a print servlet listening on port 80 in examples