Merging Retroactive Kraken into master.

Deploying to production at Asana now.

We want to be able to go back in time a litle and get messages that
were sent for topics that we just subscribed to.

This will cut a large portion of the page load time down to 0 because
lots of calls are being made to kraken synchonously while the server
process figures out which topics it needs to be subscribed to.

Accomplishing this will have the side affect of making the latency of
kraken something we dont care much about anymore. Overall tons and tons
of benefits. Working with the Asana app

Squashed commit of the following:

commit 65367f8a83bab1abb48e7c292ded263ed13e7dda
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 25 17:25:54 2013 -0700

    Retroactive Kraken ready for deployment

commit acf8f32a62f78bf60e89d0ee4ec88789ae12f36b
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 25 14:55:08 2013 -0700

    updated spec

commit 3470ec68ae26de1b38a15fcacf9caad15c183177
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 25 12:36:12 2013 -0700

    cleard horizon after subscribe used it up

commit be913dd2d72a60d100129ebdcdd9c3626a0b20c7
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 25 12:19:42 2013 -0700

    All tests now pass

commit 2db5e87446172d508b4a3c5b17dd2302e4df381a
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 25 11:48:50 2013 -0700

    some bug but got a reasonable test working

commit 8759064583f629fe9b2fcf1ccd405e007c0f8238
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Wed Jul 24 16:13:20 2013 -0700

    rm some logging and fixed some bugs and added a test

commit f1037135344f2263f3327708675f002f45d1a036
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Wed Jul 24 14:27:31 2013 -0700

    enqueued messages - untested but kraken is complete

commit e554d3a15c94f8e55a50c23598fd4fabf7fcd4e0
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Wed Jul 24 11:40:13 2013 -0700

    minor tweaks

commit c5575c86ac57bd9518a075a06367ba2035c876e5
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Tue Jul 23 21:09:20 2013 -0700

    fixed an initialization bug

commit 8cf1b2489409ccd67d922d6299f6aaeb2701c5c8
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Tue Jul 23 20:31:34 2013 -0700

    intermediate state. need to write to the waitresses queue and write some better tests

commit d8babafaca5eb127f692b443742f5386f95c30cc
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Tue Jul 23 12:00:25 2013 -0700

    fixed off by one bug

commit 57876c54607c98cd9bd38a2d2a304fb3c97fcdaa
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Mon Jul 22 17:06:11 2013 -0700

    rm some bugs

commit 976915136320a340f083a2f35531e6311d4474b3
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Mon Jul 22 16:36:28 2013 -0700

    added publish implementation (buggy) and some docs

commit c3d5544b6c8c573d902b7b52f54b7a65bced32a5
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Fri Jul 19 17:19:49 2013 -0700

    rm dump

commit 78f8c125a4cbfc2a0224015e5ccb35b4dbd351ba
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Fri Jul 19 17:19:08 2013 -0700

    framework for the publish is done now. just need to fill out two functions for a working implementation

commit 26377f7c37066f515312c2c4a88b0595325da557
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Fri Jul 19 15:30:49 2013 -0700

    in the middle of testing boundedqueue

commit 3e4ddf45610a41778bba4800aba8c9577e38c6c7
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 18 19:40:46 2013 -0700

    more docs

commit bd9936f007f21105ca5ca422ab7ece10fb628fed
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 18 19:29:49 2013 -0700

    documented the bounded queue

commit 7438c3db7a36e0db91b768986aa73dbcdb30c91f
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 18 19:00:48 2013 -0700

    added bounded_queue module

commit 5fc7791666f210f9a653f22dec22aa9f13e7cc43
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Thu Jul 18 14:13:25 2013 -0700

    got waitress to store the horizon

commit d96d827586a91c7a654f4f7e0767b19db3f27917
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Wed Jul 17 18:46:07 2013 -0700

    cleaned up horizon and function names

commit 43f64283ce09e1a18a311f2d518f085ff27beed2
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Wed Jul 17 18:11:54 2013 -0700

    got serial horizon map computed

commit bb1ad923190b11adbf7eef292ae2504d13440861
Author: Samvit Ramadurgam <rsamvit@gmail.com>
Date:   Wed Jul 17 16:27:43 2013 -0700

    making progress on register