added support for states allowing this.get and this.set apis refactor some method names
added support for states
allowing this.get and this.set apis
refactor some method names

vadimrostok/flow-components,krizka/flow-components,meteorhacks/flow-components