checking in glosser from FieldDB

https://github.com/OpenSourceFieldlinguistics/FieldDB/commits/a75d32a4a632684e07f572f2eb008b4d22f0ed92/public/glosser/Glosser.js

and

https://github.com/OpenSourceFieldlinguistics/FieldDB/commits/5ede10132fc5aebc65cc48869c12c97f77defb37/backbone_client/glosser/Glosser.js

commit 5ede10132fc5aebc65cc48869c12c97f77defb37
Author: cesine <cesine@yahoo.com>
Date:   Sat Aug 24 14:56:02 2013 -0400

    making short morphemes blue, and long red

commit 8958dc35ead6105c26a6832bbc971da2403e4aba
Author: cesine <cesine@yahoo.com>
Date:   Sat Aug 24 14:04:18 2013 -0400

    fixes #954 can click on a morpheme bubble to search the corpus for that morpheme.

    added the morphemes bubbles to the search areas so that people can click on them and play with them without going back and forth to the corpus view.

commit 23fbe8fa733d2f3d75b8f97177bfc72065d60733
Author: cesine <cesine@yahoo.com>
Date:   Sun Mar 17 11:27:25 2013 -0400

    fixes #704 added more error checking for joins

commit dab9df4b088fdec6bf0dd20d385d5c276f4ea98d
Author: cesine <cesine@yahoo.com>
Date:   Sun Mar 3 23:46:34 2013 -0500

    moving all the views into the pages couchapp so they can be deployed and updated together

commit f85f8bf44838e373b7a78602cc311a2287ae153f
Author: cesine <cesine@yahoo.com>
Date:   Tue Feb 12 11:45:01 2013 -0500

    moving the entire source tree out of the couchapp so that it is easier to find for @874 new devs

commit a4b6618fc88a41239b03eb381aac91f87e7a2604
Author: cesine <cesine@yahoo.com>
Date:   Tue Aug 14 14:35:45 2012 -0400

    renamed corpusname to pouchname and changeCorpus to changePouch to better reflect what it is for now that we are using couchs for activity feeds too there is not a one to one mapping between a couch and a corpus and a pouch for #412

commit 7cd4a1bbbcdf70179ec5ba3ba3ef7798079d4839
Author: Emmy Cathcart <maryellencathcart@gmail.com>
Date:   Wed Aug 1 14:30:26 2012 -0400

    making glosser and lexicon use the corpus url from utils whcih was why it wasnt working when we run completely local.

commit b4ec58c47cee5f77bdfec7f12999df993275dad6
Author: cesine <cesine@yahoo.com>
Date:   Mon Jul 23 16:34:39 2012 -0400

    for #415  Adding a new function to all models which we will use to do save operations and which will manage all linking of the model to where it needs to go.

commit d50caefd603661715e71b2cb6f025b02855c4290
Author: cesine <cesine@yahoo.com>
Date:   Sat Jul 21 12:10:33 2012 -0400

    trying ot make the morpheme visualizer show up when the user has synced for the first time, but not yet exited the app

commit 7a7e92fb0ea896159167206dc3e25a5124f02695
Author: cesine <cesine@yahoo.com>
Date:   Sat Jul 21 08:51:46 2012 -0400

    cleaning up the morpheme visualizer a bit

commit c7542cc74558061a763f6e95751fff56476d7795
Author: cesine <cesine@yahoo.com>
Date:   Sat Jul 21 08:11:26 2012 -0400

    fixes #366 corpus morphology viewer is working

commit 56aa78a0b9a058844e300cbce9ac4064f3ae541c
Author: cesine <cesine@yahoo.com>
Date:   Sat Jul 21 01:21:59 2012 -0400

    working on the d3 visualization, need to load from object instead of file for #366

commit ea1ba99c048f37cd6dfe4e214ffa59a244b767a3
Author: cesine <cesine@yahoo.com>
Date:   Sat Jul 21 00:28:10 2012 -0400

    adding the glossing visualiation to the CorpusReadView in fullscreen mode. only once, not all over the place becasue d3 might take a lot of memory and because the visualization will be big...

commit 02534afc131387c14cea5df4be3f6ad82984f363
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 17:33:14 2012 -0400

    turning almost all alerts into prettier bootstrap alerts in the user toast area for #382 and fixes #380

commit 55795aad0995697f86cfb3f7adb6b571556ccd16
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 14:59:01 2012 -0400

    glossing and morpheme analysis works offline after we have synced once, everytime we sync it gets smarter.

commit 81d763d34953f3c55f23768dd89b6ac0bb4941fd
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 14:43:45 2012 -0400

    tested the new glosser functionality, it seems to work pretty well, and its kind of fun!

commit 182f9ca188c585903e2ef7064627d6bb88eb0593
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 14:01:31 2012 -0400

    now pulling down the morphological precedence rules and lexicon only after done replicating from the corpus team server

commit 53de6d26c10ed4a7c1bddcce13a4108516d47532
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 13:21:08 2012 -0400

    adding some alerts to tell the user when they have enough data to train their own autoglosser for #388

commit 750ecb58ef54c427ab28f3fd217971f040340211
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 13:07:34 2012 -0400

    made a function in the glosser to do the glossline, and added it to the blur of the morpheme line fixes #388

commit 4a56bc7582a5202ec68da570119f9fee232dbc72
Author: trisapeace <trisapeace@gmail.com>
Date:   Fri Jul 20 10:07:21 2012 -0400

    Morpheme finder should now work offline. Fixes #367

    The precendence rules are downloaded from CouchDB during replication.
    They are stored in localStorage.

commit a8dfeb33913efbc9a8481f30d1268403646d21a5
Author: trisapeace <trisapeace@gmail.com>
Date:   Fri Jul 20 09:31:18 2012 -0400

    Morpheme finder now handles utterances with multiple words. Fixes #370

    Also updated the morpheme finder's comments.

commit 15e4c16e8eb913e7938c934c7bd4525be31a6562
Author: trisapeace <trisapeace@gmail.com>
Date:   Thu Jul 19 16:50:37 2012 -0400

    Fixed the URL to the precedence rule view. #367.

commit e6f14aed4d37c2dcf551612716b3492aafb67749
Author: trisapeace <trisapeace@gmail.com>
Date:   Thu Jul 19 16:26:11 2012 -0400

    Changed Glosser into a class of static functions like Utils. #367

    Also changed the URL to the view to https from http, otherwise we weren't
    getting through our security policy.

commit 5e762cfd1b13d85bbdeac301ec2987aadc59f1fe
Author: cesine <cesine@yahoo.com>
Date:   Wed Jul 18 16:57:10 2012 -0400

    Added some code we worked on to extract our rules into a force directed graph which can be visualized using D3 fixes #363

commit b8c55e2e9d89d96590de36537d72e0e2d94cfdeb
Author: cesine <cesine@yahoo.com>
Date:   Wed Jul 18 15:05:16 2012 -0400

    Working on a simple implementation of a morpheme finde for the glosser fixes #361

commit 5622e727ff9d119370f64917f3397f2d863d76cc
Author: cesine <cesine@yahoo.com>

Date:   Fri Jul 20 14:01:31 2012 -0400

    now pulling down the morphological precedence rules and lexicon only after done replicating from the corpus team server

commit 53de6d26c10ed4a7c1bddcce13a4108516d47532
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 13:21:08 2012 -0400

    adding some alerts to tell the user when they have enough data to train their own autoglosser for #388

commit 750ecb58ef54c427ab28f3fd217971f040340211
Author: cesine <cesine@yahoo.com>
Date:   Fri Jul 20 13:07:34 2012 -0400

    made a function in the glosser to do the glossline, and added it to the blur of the morpheme line fixes #388

commit 4a56bc7582a5202ec68da570119f9fee232dbc72
Author: trisapeace <trisapeace@gmail.com>
Date:   Fri Jul 20 10:07:21 2012 -0400

    Morpheme finder should now work offline. Fixes #367

    The precendence rules are downloaded from CouchDB during replication.
    They are stored in localStorage.

commit a8dfeb33913efbc9a8481f30d1268403646d21a5
Author: trisapeace <trisapeace@gmail.com>
Date:   Fri Jul 20 09:31:18 2012 -0400

    Morpheme finder now handles utterances with multiple words. Fixes #370

    Also updated the morpheme finder's comments.

commit 15e4c16e8eb913e7938c934c7bd4525be31a6562
Author: trisapeace <trisapeace@gmail.com>
Date:   Thu Jul 19 16:50:37 2012 -0400

    Fixed the URL to the precedence rule view. #367.

commit e6f14aed4d37c2dcf551612716b3492aafb67749
Author: trisapeace <trisapeace@gmail.com>
Date:   Thu Jul 19 16:26:11 2012 -0400

    Changed Glosser into a class of static functions like Utils. #367

    Also changed the URL to the view to https from http, otherwise we weren't
    getting through our security policy.

commit 5e762cfd1b13d85bbdeac301ec2987aadc59f1fe
Author: cesine <cesine@yahoo.com>
Date:   Wed Jul 18 16:57:10 2012 -0400

    Added some code we worked on to extract our rules into a force directed graph which can be visualized using D3 fixes #363

commit b8c55e2e9d89d96590de36537d72e0e2d94cfdeb
Author: cesine <cesine@yahoo.com>
Date:   Wed Jul 18 15:05:16 2012 -0400

    Working on a simple implementation of a morpheme finde for the glosser fixes #361

commit 5622e727ff9d119370f64917f3397f2d863d76cc
Author: cesine <cesine@yahoo.com>
Date:   Sun Jun 3 15:45:11 2012 -0400

    adding files to prepare for the CorpusViewfor
jshint
converted into commonjs TODO clean up later... for now this is enough to test in bower