Changes to make react-router-bootstrap work with react-router 0.9.x and 0.10.x