adjust the base js code, so it can be used with webpack

silkapp/rest#81
add space between function name and params
Merge pull request #84 from coubeatczech/i81b
rest-gen JavaScript: Defer getting window.$ until requests are being made to prevent forcing an include ordering between the api and jquery (#84)
Bump rest-gen to 0.16.1.2
Indicate empty dictionary list in types.

The type of the dictionary is now a type-level Maybe, with Nothing
indicating an empty list of dictionaries. This allows us to choose,
based on the context, if we want to treat the empty list as
polymorphic, or as monomorphic (e.g. ()). This means we no longer need
to `some*` combinators: we can just allow an empty dictionary to be
added to. However, in the driver code we treat empty dictionaries as
(), as before.

Fixes #31.
Use Void instead of () for 'no errors'.

This is better, since previously it was possible to throw (), which
wasn't the intention. Occasionally this required the use of `error`, for
example when mapping over a Reason_ to extend it to some (Reason e).

The only remaining wart is that the XmlPickler instance requires an
unpickler, but there's not much to be done about that.

Fixes #70.
Rest-types: add Show and FromJSON instances for Void.

The latter always fails, but is needed to parse `Reason Void` in the
generated API clients.
Rest-gen: generate correct Void error types.

Before, we generated `Reason ()` instead.
Rest-types: add a Generic instance for Void.
Rest-core: GHC 7.6 compatibility.

It doesn't support closed type families.