Added state and tracking to invoices through state_machine and public_activity.
Merge remote-tracking branch 'origin/master' into kj/invoices/state_impl

Conflicts:
	Gemfile.lock
Merge pull request #175 from kaspernj/kj/invoices/state_impl

Invoices: State and tracking implementation