adds subproject/netsted project support, refs #2

I'm still not a Rails guru, but here's my take on the issue #2.
This commit also includes (by mistake) the ```is_archived = 0``` to ```is_archived = False``` fix for Postgresql (issue #12).