Clean up default data directory and flesh out README
* Removed compiled_view folder and its README; ThinkUp will create it as needed
Fix working directory & table prefix assumptions in tests
- Make paths to init.tests.php relative to __FILE__ so they don't make
  assumptions about the working directory
- Fix tests that assume the prefix is tu_
- Fix a few places that assume a trailing slash after directories
- Restore the configuration file if it's moved out of the way during
  testing and an exception occurs before it's moved back
- Minor updates to tests/README.md
- Remove /tests from THINKUP_BASE_URL
THINKUP_BASE_URL was set to /tests when tests were run from the root
directory.

Make sure there's a slash between root dir and tests/view

Accept "Access Denied" as a correct failure on bad database

When trying to install to a bad database name, the test assumed that
access would be granted, and an "Unknown database" error would result.
If access is denied, accept that as a correct failure as well.

Use loopback for testing bad database host

When using a "helpful" DNS resolver that returns an IP address for
unresolvable hosts (see e.g. http://dns-opt-out.comcast.net/), using an
unresolvable hostname like "localcheese" causes the test to hang while
attempting to connect to port 3306 on an IP address that's dropping
packets.

Instead, we try to connect to a loopback address, 127.0.0.2, which
(hopefully) isn't accessible so the connection is refused immediately.

Fix case of MySQL in class names

More fixes for working directory & table prefix assumptions in tests

- Make paths relative to __FILE__ so they don't make assumptions about the
  working directory
- Fix tests that assume the prefix is tu_
- Fix a few places that assume a trailing slash after directories

Fix for non-standard prefix that contains "tu_"

Use #prefix# in query passed to newMigrationFiles

Closes #187, closes #1089
Streamline path constant usage & consolidate app URL construction
* Removed THINKUP_BASE_URL & replaced with either $THINKUP_CFG['site_root_path'] or when the config doesn't exist (like in installer) Utils::getSiteRootPathFromFileSystem
* Corrected incorrect uses of THINKUP_ROOT_PATH (where THINKUP_WEBAPP_PATH should have been used instead)
* Moved Utils::defineConstants to Loader::definePathConstants
* Added Utils::getApplicationURL() to consolidate all the places where the app built the URL and checked for https, server name, etc
Documentation: New FAQs and Bootstrap CSS tweaks
Merge pull request #1118 from cwarden/extract-mentions-while-crawling

Extract mentions while crawling
Loader: Add ability to search custom paths for extlib classes
BaseFacebook class name doesn't work for facebook plugin.
changed to Facebook.
Merge pull request #1231 from sorcery/master

Facebook Plugin not Working
Fix escaped HTML in info messages
Fix missing argument for ConsumerUserStream test failures
Fixed typo
Rename Deadbeats Quietest
Facebook plugin bugfix: Avoid PHP Notice Undefined property: stdClass::$data
Closes #1218
GeoEncoder plugin bugfix: Avoid PHP Notice Undefined offset 0
Closes #1209
G+ plugin: Defensively catch token response without user information
Closes #1191
Generate globally unique Twitter app name, closes #1163
Detect and display app URL running non-standard port correctly
Closes #1157
Use twitter-text-php to extract mentions

Previous tests for mention extraction from tweets were not exhaustive.
Added additional tests from twitter-text-conformance and switched from
custom regex to twitter-text-php library to extract twitter usernames.

Closes #1108
Make twitter-text-php library 5.2 compatible
Post API: Don't display user posts for service users not set to public in ThinkUp, closes #1221