Fix router logic to handle undefined actions
Merge pull request #12 from filp/master

Fix router (getAction/dispatch) to handle undefined actions