Updates CHANGELOG
Extracts profile parser into it's own method and adds unit tests

This extracts the profile parser into it's own method.  It also allows for
whitespace before and after the equals signs in options.  Adds unit test
for the parser method as well.