ensure state is not null
updated decoder script (was missing berkeleylm)
Rejiggered the feature function interface to provide more clarity between stateful and stateless functions.

Both now have full access to the current decoder state, but only stateful feature functions
*contribute* any state. Stateless feature functions simply return null when asked for their
state computer.