Django 1.7 compliant and separation between library and sample

Made some changes:

- Django 1.7 compliant
- Separation between Sample and package
- Running sample as homepage