Get rid of the rather mixed up notion of a 'base'.

The whole get_base and base functionality was only minimally tested and
was complicating the code. Get rid of it. Also rename 'base' to 'parent'
where it was in use inside mounts.