Move lib.php one level up to app/

Fixes #1527
Update lib.php path in libTest.php
Merge #1527

Conflicts:
	app/bootstrap.php