Updated gitignore.
Added some tests to photos app.
Enforce AJAX requests for JSON responses.
Reworked AJAX responses slightly.
Changed the way Action instances are deleted. Let's use a signal.