Make router for scheduler resourceful

I have moved the scheduler into a different controller. The previous one
will be kept and be used as a redirect. This way the page can be linked
without loading a repository beforehand.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Instantiate repository selector for scheduler

The repository selector works now, too. I had to generalize a bit of the
view code to make this working.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Disable buttons on click event

As it was implemented before, the button will now be disabled if they
are clicked.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Use regular expressions to test current paths

Instead of mere string comparison regular expression tests are required
if the path contains an identifier. I have extended the function. For
now it will work on repository identifier.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>