Added ignoreTrailingSegments option for route
Moved Third Party extensions to allow overriding widgetjs methods