optimizations of db access
Merge branch 'master' of https://github.com/pwrozycki/homesite

Conflicts:
	mysite/gallery/models.py
Merge branch 'master' of https://github.com/pwrozycki/homesite
introducing subdirectory view (ripped of directory)
which convinces Ember not to fetch deep objects in hierarchy