Stop treating hints as structures

Test Plan: <see below>

Reviewers: pamela

Subscribers: #cs

Differential Revision: http://phabricator.khanacademy.org/D14151
Create a new environment in live-editor for SQL based on sqlite. Fixes T3304

Summary: I'll be adding a separate diff for the actual KA site integration stuff.  Also the external sqljs asm.js stuff is not included in this diff.

Test Plan:
- Tests will come in a follow up diff.
- To test out for now execute some SQLite commands
  in the demo's sql.html file or on the KA site.

Reviewers: pamela, john

Subscribers: #cs

Differential Revision: http://phabricator.khanacademy.org/D14171
Add build files for sqlite environment

Test Plan:
- None
Add sql.js dependency sqlite compiled down to asm.js by emscripten

Test Plan:
- None
Be more restrictive about allowed sql column types

Most DB implementations aren't like sqlite in that you can put any column type you want and it'll find a best match.
This makes itm ore restrictive about the types of columns you can specify.

Test Plan:
- Add a column of type: fdfsaas and make sure it gives an error and points you to the right line of code.

Auditors: pamela, john
Fix output width to always take 100% of available height

Note that build file includes a couple of other changes because it had some outdated unused stuff in it.

Test Plan:
- Load the following sql script and make sure it takes up 100%:
http://pastebin.com/b5f3Zeck
- Load the following html scratchpad in Firefox and make sure it shows up with all red.
```
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>New Webpage</title>
<style>
body {
background-color:red;
}
</style>
</head>
<body>
</body>
</html>
```

Auditors: pamela, john
Fix results not showing because of nested arrays for Handlebars

Test Plan:
- Load an sql script with a query on Firefox, make sure results show up.

Auditors: pamela
Build files for previous commit

Test Plan:
- None
Add support for clicking on output schema table name to send message

Test Plan:
- Try o KA, click on table name for a schema and see a select * for that table added to the left.

Auditors: pamela, john
Fix results title showing when there are no results

Test Plan:
- Load an sql script which only creates tables and inserts stuff.
- Make sure there is no Results title.
- Click on a table, make sure the Results title shows up.

Auditors: pamela
Update build files for previous 2 commits

Test Plan:
- None

Auditors: pamela
Fix html2canvas dependency for sql deps

This is a regression from when we split into different output packages on KA.

Test Plan:
- Save an sql scratchpad on KA, make sure it saves.

Auditors: pamela
Always convert column type to uppercase for output window

Test Plan:
- CREATE TABLE t1 (x tExT) should display on the right with column type of TEXT

Auditors: pamela
Treat 0 and NULL differently for output

Test Plan:
- Run this script and make sure 0 and NULL show up correctly in the results.
CREATE TABLE students (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, grade_year INTEGER);
CREATE TABLE student_grades (id INTEGER, grade INTEGER, FOREIGN KEY (id) REFERENCES students(id));
INSERT INTO students VALUES (1, "Brian", 0);
INSERT INTO students VALUES (2, "kamil", NULL);
SELECT * FROM students;

Auditors: pamela
Don't rely on class name for inserting a click handler

Test Plan:
- Load a database with a table in it and click on the table name.

Auditors: pamela
Annie's style changes and more

Screenshot in Comptuer science channel.

Test Plan:
- Load an sql scratchpad and make sure it looks right.
Add styling from Annie's mockups

Test Plan:
- Load an sql scratchpad and make sure it shows up ok

Auditors: pamela
Add some more functionality for testing challenges

Test Plan:
- Try the 3 challenges in the intro to sql outline

Auditors: pamela
Remove unused rule

Test Plan:
- Load sql output pane and make sure it looks right.
Rename hare to rabbit

Summary: Hares arent rabbits.

Test Plan: - Type <img src="", see rabbit in list.

Reviewers: alexrodrigues

Reviewed By: alexrodrigues

Subscribers: #cs

Differential Revision: http://phabricator.khanacademy.org/D14213