Bugfix for HTTP 1.0 streaming

Wrong branch of mochicow_request:respond called, resulting in bad match exception, as everything related to streaming contains in Body, which supposed to be an io_list in that branch.
It does work with 1.0, as TransferEncoding is still 'identity'.
boss_session: mnesia initialization improved;

When the `session_adapter` is set to `mnesia`, the Mnesia
schema was not created automatically. This is to fix it
by adding the `ensure_schema` function.

Note that it has not been tested in distributed environment
yet so we expect the `ensure_schema` may become a bit more
complex in the future.

Additionaly, the timeout for `wait_for_tables` was
increased from 20ms to 1000ms because 20 was not enough
at least in our testing environment.
When mail controller says nevermind, a reason must be provided.
application won't stop sometimes

Node won't stop if wm_name set in .conf file, like for example {wm_name, leader}. This happens because rpc:call() requires qualified node name such as name@hostname when node started with -sname or name@hostname.full when node started with -name.

In default configuration it works because io_lib:format("~s@~s", [app_name(AppFile), host_name()]) makes full qualified name like appname@hostname.

This commit fixes this problem, it allows to start and stop node when:

1. wm_name is not set (in this case node starts with -sname appname), rpc:call() makes a call to appname@hostname
2. wm_name is set (in this case node starts with -name wm_name), rpc:call() makes a call to wm_name@hostname.full
3. wm_sname is set (in this case node starts with -sname wm_name), rpc:call() makes a call to wm_name@hostname

hostname is a return value of {ok, Hostname} = inet:gethostname()
hostname.full is a return value of HostnameFull = net_adm:localhost()

In all three cases start, stop and restart commands work correctly on two my Linux boxes with Erlang R15B01 and R15B03.

Further testing is probably required, as it may depend on OS host configuration.
Start mochiweb application
Merge pull request #331 from ztmr/mnesia_cache

boss_session: mnesia initialization improved
Merge pull request #344 from brigadier/patch-1

application won't stop sometimes
Merge pull request #310 from tempaccounterl/patch-1

Bugfix for HTTP 1.0 streaming
Fix issue with inter-application {% url %} tags
Merge branch 'master' of github.com:evanmiller/ChicagoBoss
Update Elixir version
Fix Ecto dependency
Document poolboy workaround for Ecto
ct tests
Update boss_model_manager_boss_db.erl

support for custom boss_db cache prefix, see https://github.com/brigadier/boss_db/commit/51dbe7e523bac1b0548837a427fba3be08dcd29a
Update api-config.html
Merge pull request #346 from brigadier/patch-3

Update api-config.html
Merge pull request #345 from brigadier/patch-2

Update boss_model_manager_boss_db.erl
Adding README_TESTS.md
Merge pull request #1 from kotedo/master

Adding README_TESTS.md