Pass action context to model by constructor

Reverted changes in
https://github.com/ecomfe/er/commit/9cd496378589a589f1042cc2de94452a9422
5f84

Fixed #66