Handle exceptions in loading argspec correctly
state function isn't always first item in list - it's the only string, so identify it by finding only strings
Fix ident and make error message more readable
Remove module function from list of args
Return data for all states in an id