Progress being made with test suite

The test suite is coming along, only a few more tests to write

Refs #3344
Fixed some bugs in AlgorithmFactory

There were a couple of rather major bugs which it's a wonder hadn't been found until now.

The first was that decodeName() could go out the range of the string and return garbage if there wasn't a bar cahracter in the supplied string. A check has been added which will throw an exception if one isn't found.

The second was that getCategories() didn't work at all as the loop wasn't executing due to the variable "it_end" used in the condition not being initialised correctly. It's now initialised correctly to categoryMap.end().

Refs #3344
Finished AlgorithmFactoryTest and added a new Fake Algorithm

A new fake algorithm has been added to help test the category methods.

The Test suite has been completed with tests for all methods and error cases where applicable

Refs #3344