Resolve BOLT_PROJECT_ROOT_DIR from parent directory of bootstrap.php, fixes #1526
Move lib.php one level up to app/

Fixes #1527
Update lib.php path in libTest.php
Create primary (first-stage) loader for runtime environment checks

Begins #1531
Add newline to end of bootstrap.php
Modify front controller to call primary loader
Modify Nut to call primary loader
Add load chain test to ensure that load.php invokes bootstrap.php
Wrap the bootstrapper in a closure which returns $app back out
Merge #1526
Merge #1527

Conflicts:
	app/bootstrap.php
Merge #1531

Conflicts:
	app/bootstrap.php
Merge #1530

Conflicts:
	app/bootstrap.php
Reformatting and refactoring

Removed superfluous newlines
Fixed indention
Replaced double with single quotes
Clarified load chain test comment
Update version to 2.0.0 as '2.0' breaks Composer extensions that require '2.0.0', e.g.

"require" : {
    "bolt/bolt" : ">=2.0.0,<3.0.0"
},
CommandRunner constructor no longer needs the asterix on $app['bolt_version']
Merge pull request #1538 from GawainLynch/hotfix/bolt-version

Update version to 2.0.0 as '2.0' breaks Composer extensions "require"
Channging "bolt_name" to something that better reflects the current state of the app.
Merge branch 'master' of github.com:bolt/bolt

Conflicts:
	app/src/Bolt/Application.php
Merge pull request #1537 from adrianguenter/boot_updates

Boot updates