Added a reset method to WMConfig.

This should make testing easier by not requiring the creation of a new
test fixture for every time `WMConfig::load` is called.
New tests for parsing layer actions now pass.

These tests include setting valid layers, as well as layers which are in
the wrong range, and some layers which are not even numeric.