Changes and corrections
Unified database design

Most tables can now reference problems and solutions the same way.
Adapted list generators and proposer functions
Adapted submit scripts
Rewrote queries in pages accordingly
Merge branch 'unified_data'

Conflicts:
	lib/solutionlist.php