Initial Django 1.7 support

Fixed app imports and path detection.