karaage_site not initialized if user not logged in.

Change-Id: I2449003ca5a61e67c3a36a4d454c8888ebf1b117
Change the way we manage permissions.

Currently we cannot distinguish if the user is looking at the admin
site or the registration site except via separate URL schemes.

This change is the first in a series that will make it possible
to move registration and admin site differences to karaage-admin
and karaage-register.

If the user visits karaage-admin, access will be denied unless the
user as an administrator.

If the user visits karaage-register, administration rights will be
ignored (accept for a limited set of operations).

Change-Id: Ic7e1bac2d8e425b37adb92c921607bc4ad859c91
Update applications.

Change-Id: Id98935ddecb3d51d05b9ec9bd0d0c2cd11aeb359
Update people.

Change-Id: Ib8b6d9ab511a715018aa1bef5dbdd2a74ffc4348
Update projects.

Change-Id: I201ef8e91dddf43d1ad1d8060f510e30e61a976f
Update institutes.

Change-Id: I0c8d14eb318f5e78c0806947a3fa4d259195c463
Update machines.

Change-Id: I7e41a5be6047d81177283af7ee9f3a4441e56126
Update software.

Change-Id: Ib67f44178f9c69851a2cc1e4f825566edd7cdfc0
Update usage.

Change-Id: Ic76eb7c466895130bda78092362646d8f290423f
Remove legacy stuff.

Change-Id: I8254a72205b850d21206c6e12e53aac7b5cedb12
Move settings from Karaage-register.

Change-Id: I554bb02100d0d4340a307ddca74a9c40f7e9b844
Use person instead of person.user.

person.user is obsolete and is deliberately broken.

Change-Id: I9490bb2dc951a48537dc4987145f6ada743840ba
Move generic stuff from karaage-*.

Makes no sense having stuff in karaage-admin and karaage-registration
when we refer to it from karaage.

Change-Id: I12aa7930782c1328f0ab15caca8fc61706c7d692
Fix logic error.

If non-admin tries to send an invitation, we want to ensure that they
specify a project.

Logic was reversed.

Change-Id: I47dfe08b9cdefd43c355932d284dee3ae00b860b
Remove references to get_profile.

Function is obsolete and broken.

Change-Id: I6b0c4cceae986f78239a0fa333ff9f02fec46df0
Fix/Remove broken/unused imports.

Change-Id: Ie25b88e6b9a8572ab1440b1c2211d4e42d1d1fd2
Fixed invalid reference to Account base class

Change-Id: Ibae795ceb1e1ae42c7b424e77b52ea18da2a2432
Prevent name spaces from clashing.

We might really have a username "add", for example.

Change-Id: I172f35680296d94f1155dbfcb65dcd9336f14a99
Remove obsolete reference to user.

Change-Id: Icb47a3da3fb5eb1c1854cf965b495549873f84e2
Fix password reset issues.

Change-Id: I89a633be2b7c37c21a1c257615d77fc84cbe8b34