Merge pull request #12 from abalandin/master

fixes, style
refac: Iterator-based LongSpec

First and dirty implementation of LongSpec.Iterator.
Iteartors allow sequence coding, i.e. collapsing tokens that
go in incremental sequences: "!abc!abd!abe" -> "!abc!!"
Also added: chunked storage to use for really long LongSpecs.
Merge branch 'master' of github.com:gritzko/swarm
Naive Lamport clocks: seq+pid
Iterator-based chunked LongSpec implementation

It is now fit to make super-long weaves (like "Word and Peace" long).
I would die coding this if not for Korpiklaani music.
Thanks to the guys, I am descending to the Underworld instead.
Finally, CT-based vectors

In distributed systems, linear data structures are tough :)
This is our fist shoot at Causal Tree based vectors.
The code is barely tested and the overhead will be a bit higher
than I like it to be, at least till horizons are implemented.
Make Swarm globally visible in the browser

May now reach Swarm object as window.Swarm, so window.Swarm.Spec,
Window.Swarm.Model etc
fix: some extend() cleanup

Note that extend may contain:
* defaults - default field values
* ops, remotes, neutrals - logged ops
* wrapper methods (sugars, must call ops this way or another)
* some constants (Number, String)
no fix is fixed enough to prevent further fixes
ProxyListener for Vector member object event relay

+some linting
jshint
ReactMixin: listen to collections
Merge branch 'master' of github.com:gritzko/swarm
Koa server to use koa-spa for single page apps
Vector.indexOf can search by id, spec, object
Merge branch 'master' of github.com:gritzko/swarm
KoaServer to the package
Include EinarosWS into the default server build
fix: Vector entry order bug

...caused by LongSpec.Iterator bug
Merge branch 'master' of github.com:gritzko/swarm