Move lib.php one level up to app/

Fixes #1527
Update lib.php path in libTest.php
Merge remote-tracking branch 'remotes/origin/refactor/1527' into new_boot_procedure

Conflicts:
	app/bootstrap.php