Added optional limit to the resources, added loading of resources with limits from DB.
We should rather update the activity that is stored under the previousUrl! Added tests to verify that DB is ok with null in query.
Merge commit '6ab394614db78682e0363afde6d1bd08b0dbbc5a'
First experiments towards lazy conversion of database objects: Activity now contains a database object.
Merge commit 'dfdbd564b8b6ba7d0cda662061d51252f55ece34'
Cloning an activity now keeps the original start and end dates instead of replacing it with today.
Merge commit '5d8e1259483ad3f842816cc385e82750662daa43'
Fixed some errors:
- Activities can now be saved again
- The old subscribe command now redirects (removing duplications)
- Fixed display in activities admin table
- Fixed sending of invitations
- Removed the word "null" at the end of mails to activity participants
Introducing Resources, a dynamic wrapper around the object that contains the resources.
Now the activities are dynamically typed.
Some small refactorings.
Now copying works for activites with multiple resources.
Activity.fillFromDB actually does the job of the constructor -> turn it into the constructor.
Copying must not assign typed objects, only their state internals, to the surrounding object's state internals.
Split test file in two parts.
Activity can list all participants of all resources -> now we can send mail to all participants again :-) Index is also simplified.
Merge commit '759d32106a1ccf500d2a7205ac8a273650d564fc'

Conflicts:
	lib/activities/views/get.jade
	lib/administration/views/activityTable.jade
	lib/mailsender/mailsenderAPI.js
Merge pull request #461 from NicoleRauch/master

Activities sind nun nicht mehr identisch mit der Activity-Persistenz