Updated testing types

- Implemented __eq__
- Setters return self
- Added testing
Minor fixes in param

- Param accepts a mapping.
- paramFactory copies the arguments. Turns out side effects
    aren't desirable. What a shock!
Override __eq__ in mappings
Miner fixes to mapping

- Getters and setters are not initialized to defaults.
    That strategy doesn't play nice with MappingTypes.
- CodeMappings should keep their cool if a mapping for some
    parameter ID doesn't exist. This is required if factories
    are going to be flexible.
Using mapping equality feature to test factories

Code mapping factories can now be tested the same way that
design space factories can be tested, thanks to __eq__.
Added configs and updated factories

- Added two new mapping configurations for the triangle design space.
- Added the two configurations to the preset factories
- Updated preset factories for consistency with the XML factories.
    This also makes it possible to provide a code mapping when
    importing a design space. In effect, this allows the factory
    to override the mapping set in the design space!
Forgot to change the triangle type in test config

- The triangleDefaultAccessorMapping was still mapping triangles
    to the standard Triangle type, which doesn't work.
Added testing of different code mapping configs

- Using different code mappings with different initialization
    requirements and the same design space to make sure that
    the end result is the same. As expected, setters don't yet work.
Initialization with setters now works for SParams

- Still need to be able to attach a mapping to an NParam.