converts project into Django app

Provides a decent Django "project" structure,
with "languagemodel" as a Django "app" within.

Provides model serialization and fixture generation.
Still requires corpus to be sideloaded into repo; see
TODO list about other alternatives.

Squashed commit of the following:

commit 57417ec28929bbd0a3b653aed11600d067a2b5ae
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 26 15:41:51 2014 -0400

    adds TODO

commit a1db4729d65ce1191a655a210113a27d5dd2b53d
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 26 15:40:13 2014 -0400

    much faster data import and fixture generation

    Squashed commit of the following:

    commit 6da4f11870b98b07270fb335ce8fa64ef44fa77a
    Author: Conor Schaefer <conor.schaefer@gmail.com>
    Date:   Mon May 26 15:39:04 2014 -0400

        adds benchmark for custom fixture generation

    commit 99ee4a61c56edd80e0387999819a74acb63241cf
    Author: Conor Schaefer <conor.schaefer@gmail.com>
    Date:   Mon May 26 15:16:13 2014 -0400

        implement iterator QuerySet for mem reasons

    commit 84219cc1071236d78ff5c046d185631accfa0a91
    Author: Conor Schaefer <conor.schaefer@gmail.com>
    Date:   Mon May 26 15:02:47 2014 -0400

        adds benchmark times for dumpdata (for reference)

    commit c4b409445e28ccc5a549bd419ea6d61617a2d151
    Author: Conor Schaefer <conor.schaefer@gmail.com>
    Date:   Mon May 26 14:04:53 2014 -0400

        updates README with current counts

    commit a559aaee577e691f12012a8f9bd88c69db6bc739
    Author: Conor Schaefer <conor.schaefer@gmail.com>
    Date:   Mon May 26 13:58:53 2014 -0400

        adds dse for (allegedly) faster imports

commit 924354c2cbcda46e08480327cca0b859fa29ff97
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 26 13:57:39 2014 -0400

    adds a few custom manage.py commands for importing ngrams

    Conflicts:
    	.gitignore
    	README.md
    	languagemodelserver/languagemodel/models.py
    	languagemodelserver/settings.py

commit bc968c4c81f7d57ae569cdf569ae1514b3985d71
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 26 09:40:12 2014 -0400

    hardcode paths

commit 5b505eca0c5aa2d011a834140fa970f847dcf14e
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 26 09:32:10 2014 -0400

    zero progress on manual db inserts

commit 47ba26e06c663003c1c1e67ac757465e373110c3
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 26 08:13:23 2014 -0400

    fixes local app import

commit 905ca648779ad2a524b33df6e6e7d302143c0621
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:44:50 2014 -0400

    update calls to Ngram

commit c2f4c3f412cb4a44008782463b2f08ee909952e1
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:44:41 2014 -0400

    moves Ngram class into models

commit 8d8473d6d7063d827d0ffd67fe2bb980d761fd34
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:37:48 2014 -0400

    moves into appdir

commit 938c804f8318ae69fc5f86bdad84388d6bc4a8d0
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:35:02 2014 -0400

    moves logic into new appdir

commit 6ab47bf1ac6147740dc836aef1eebbeeac221c46
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:32:19 2014 -0400

    adds django scaffolding

commit e558353cebfb6ed9e5aabcd87509b0475fd6b8ca
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:31:24 2014 -0400

    move old proj dir aside

commit 91666473eba74975f9c9d07391aa1068d7ce13a1
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:30:39 2014 -0400

    adds django to requirements

commit 3245eac480cc282c62ec52e04d5e6116223dc75e
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 25 22:30:15 2014 -0400

    adds gitignore file

commit 90644a7c09d7c53c0aee408ffb2d5d693661990e
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sat May 24 13:21:25 2014 -0400

    updates path to loaddb script

commit a0db499d24d2ae55f6f33e7bb00a3ae578cd32de
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sat May 24 13:20:18 2014 -0400

    more verbose db loading (faster flushes)

commit 349158a17b7e417992c5af7600468b7603fa3d0e
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sat May 24 13:18:59 2014 -0400

    removes Flask logic from __init__.py

    Reverts commit 3510863. Proper Flask app structure expects
    this logic in __init__.py, but Flask is just a stopgap measure,
    with later versions of this project using Django or Twisted. So,
    let's keep the code clear for now, since all we care about is
    sideloading the database for testing.

commit b6b0400f927ceb1f898c6c18f647e4b11f1cb158
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sat May 24 11:54:25 2014 -0400

    adds db.create_all() call in __main__

commit 35108637a1aeb196c2bcd09ae50144c0e8d7313c
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 19 08:14:43 2014 -0400

    moves Flask app logic into __init__.py

commit c2a5df4da8ed1bb3cd789ee7283a6fe513158373
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 19 08:00:20 2014 -0400

    enables verbose output for server

commit 6f555521dff1316ecfe888e24a83dbfb645ff170
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 19 07:51:10 2014 -0400

    cleans up comments in loaddb

commit d5e9a425c79c641ac6a8b5e35ab7b3df611edb33
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 19 07:44:17 2014 -0400

    friendlier var names

commit 013aaf285ddc716e0b5d1dd703210868a81b699c
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Mon May 19 07:43:49 2014 -0400

    uses yield_per() for Query to reduce mem usage

commit a9fb757ef659b71b5a7e4507039ebe02e6c6b878
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 23:04:35 2014 -0400

    whitespace fix

commit d9bef0d8eaee75bdf931c570c00153ca17ce241d
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 23:04:18 2014 -0400

    removes flush

commit 5e5636f0c3419c5200b13138a673330dd23587b2
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 21:00:53 2014 -0400

    flips to flask db

commit 7f18123378399fe2476f6b8c46f82cd0af5c5e68
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 20:29:45 2014 -0400

    rips out more lines

commit 0c02b8bc0b2eb27b6c33d52d168ed975accdf432
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 20:29:00 2014 -0400

    removes extraneous lines

commit df4dbf9eabe56ac0f586d260b05703b144be60c3
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 20:27:39 2014 -0400

    adds query logic (currently coming up dry)

commit 821a3235dc7f5ce23a2a881cf733a144cf384350
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 20:21:25 2014 -0400

    dummy query file

commit 4836ef30785d7865919409842f9eb9d82eae49bf
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 20:06:35 2014 -0400

    hello world server

commit 826577437ef72fc39ffb90bc0b3166b08d579b44
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 19:42:26 2014 -0400

    moves old script into dir (maybe needed later)

commit bdab31a5d123d578b55ae3d0cedc7fac1244592e
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 19:37:09 2014 -0400

    renames loading logic

commit 081a59e1dc8c2598f16fda922d13e4d09bd6f126
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 19:36:25 2014 -0400

    announce completion

commit 83a971bb043095f02b6b98cb2f614255cf7ca079
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 19:29:54 2014 -0400

    breaks out logic into separate files

commit 45b836d7a918474148e0aeba903d2e11b93bd38f
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 19:24:57 2014 -0400

    adds init py

commit f826d826aefbf260ec101d8a27b6debf28e79c24
Author: Conor Schaefer <conor.schaefer@gmail.com>
Date:   Sun May 18 19:23:57 2014 -0400

    creates languagemodelserver dir