FLX-1631: Firmware mode can now be read in as an optional argument and the allowed modes.
Firmware mode can now be read in as an optional argument and the allowed modes read from the YAML. This returns a bool which is then attached to the attributes of the node/register.
Implements much of FLX-1631, just needs additional testing.