fix a bug in resolving mechanics when another segment is selected in the meantime, fixes #4
introduce new `$routeSegment.$routeParams` feature, various bug fixes