Added clear and clearExcept methods in RouteCollection

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Todo: -
License of the code: MIT
Documentation PR: included

Added methods clearAll and clearAllExcept in RouteCollection. These method were added in 2.0 baranch (named as removeAll and removeAllExcept), but are missing in master (see #942).