Nested collections support

Hey!
I added support for nesting collections inside other collections because I want to group my pages in two-level structure.

Let say I have an `articles` collection. Some articles are independent of others but some belong to the longer series about some topic and I want them to be listed together.

I also did some re-factoring of your code and I hope that you'll find it straightforward and concise.