react 0.12.x and react-router 0.11.x compatibility

Started with shitalm's fork https://github.com/mtscout6/react-router-bootstrap/pull/4

Let me know if it needs changes, works great for me
This logic is duplicated. It should get centralized somewhere else then required in here.