Reformatted modifications to state.js to match upstream style.  Commented out console.log debug code.
Reverted state.js to stock ui-router code.  Doesn't seem to be necessary to save the state.locals?
Reverted state.js to stock ui-router code.  Doesn't seem to be necessary to save the state.locals?