Find url in the nav menu and mark class as active

This pull depends on #22. It also fixes the issue described in #18 and also adds support to automatically expand the nav menu based on the current url. So no more having to code each link with a class="active"