Merge pull request #1 from swannodette/master

need to use sanitized in index.html
Fixed git command in instructions
Merge pull request #3 from JoshuaOSHickman/patch-1

Fixed git command in instructions
Update README now that Chestnut is registered at Clojars
moved the Sources section in the README to the bottom
Add Heroku support, and other bits

- Make sure uberjar builds work and contain all the Clojurescript
- Give {{name}}.server a -main function so we can run straight from the jar
- Add a Procfile, and a system.properties so we get a recent Java
- Add a sane .gitignore so a `git add -A` does the right thing
- Disable REPL and Figwheel when running in production. This part is a
  bit hackish, feedback welcome.
- Significantly update and expand both README's (Chestnut's, and the one
  you get with your app.)
Bump version to 0.2.0
typo
Small changes to the README, add the Clojars snippet to show the current version
Improve cljsbuild/uberjar settings

Build optimized code when creating an uberjar. Also loads react directly
from the com.facebook/react. This allowed us to clean up index.html
significantly.

The lein-cljsbuild hook is now only executed when building an
uberjar. Before it would run when starting a REPL, which means that when
starting `lein repl` and `lein figwheel` at the same time, you could get
mangled compiled clojurescript.
Update figwheel to 0.1.4-SNAPSHOT
Bump version to 0.3.0
Update dependencies: clojurescript, ring, compojure, cljsbuild, environ
Make development mode work again, load react from jar

To run with figwheel, we need to disable cljs optimizations. This also
means that we manually need to require our main namespace. Before we had
that code in index.html, but in production we only need to load app.js.

Since we already inject JS for the browser repl, we can expand that to
also inject the necessary includes. I've also added a compojure route to
serve up react from the com.facebook/react gem, so we can serve it
ourselves instead of relying on facebook's CDN.
Switch to Weasel, and other improvements

Switched from Austin to Weasel for a browser-connected REPL. I regularly
got issues with Austin that after a while the REPL became
unresponsive. Hopefully this fixes that. Weasel seems to bring some
other niceties as well.

Did some testing with a project name containing a dash and found some
places where {{name}} had to be {{sanitized}} or vice versa. Switched
the uberjar name to not be sanitized, this is more in lein with the jar
naming leiningen uses by default.

Finally the "is-dev" thing on the clojurescript side now actually
works. The idea is that in dev mode we set an "is-dev" class on the
<body>, so the clojurescript side can know we're runing in dev mode and
needs to connect to the REPL and Figwheel. So in production no
REPL/figwheel connections will be started.
Added a Changelog, updated both READMEs
Optionally use HTTP Kit, reload code, default middleware

Add a --http-kit flag to use that instead of Jetty. This introduces some
initial logic for dealing with optional dependencies. It also introduces
middleware that takes care of Clojure/HTML hot reloading, and adds the
default compojure.handler.site middleware for session, cookies, param
handling etc.
Add flags --site-middleware and --om-tools, split off a cljs dev namespace

Give people the choice between running an API style site at the
backend (the default, use compojure.handler.api middleware), or build an
HTML rendering site (--site-middleware, uses compojure.handler.site).

Give people the choice to use om-tools.dom instead of
om.dom (--om-tools)

Put the development specific stuff in separate dev namespaces to reduce
the clutter.
Add piggieback middleware to repl
Fix typo in `core-cljs-requires` definition.