Warn if we go beyond 12 signal states.
Refactor, simplify an speed up XML to JSON conversion.

It now expects the new format, as documented in the sphinx docs. It's
also now built so that you can do the conversion within Python, without
writing out to a file.
Load parents and allow custom search paths.
Load and merge XML databases.
Search for both lower and upper case hex IDs in database.