Add table for pictures to database
Created picture forms
Fill picture forms in solution form with given data
Changed submit script accordingly
Merge branch 'pictures'

Conflicts:
	lib/submit_solution.php
Fixed some bugs resulting from refactoring a while ago
Abstracted from database implementation

Database access is now wrapped, so we can easily exchange the engine.