Changed deprecated AASM methods

Changed deprecated AASM methods: 'aasm_state' to 'aasm.state', 'aasm_initial_state' to 'aasm.initial_state' and 'aasm_event' to 'aasm.event'. into CircuitState.

Removing deprecation warning...

Fixed issue #5