Update code for parsing URL into list of _Commons

The old process causes the top level directory name to be repeated at
the start of the directory structure multiple times - once for each
folder deeper than 2 in the hierarchy.  The new process is simpler and
works for all depths in the hierarchy.

Signed-off-by: Greg Bowler <greg.bowler@g105b.com>