Add the subPage type

This allows us to have pages below another page. It is still a bit of a
hack, but it gets the desired functionality setup before the deadline.