Be more verbose about log format errors.

Our friend @ioremap complains about non-informative log format error
messages, so now they are super-verbose.
Missing includes.
Merge pull request #34 from noxiouz/master

Add operations with crashlogs
Add operations with crashlogs

Now avalaible:
    cocaine-tool crashlog:list -n app_name
    cocaine-tool crashlog:view -n app_name -m timestamp
    cocaine-tool crashlog:remove -n app_name -m timestamp
    cocaine-tool crashlog:removeall -n app_name
Service release 0.10.4-1.

Cocaine Tool support for crashlogs.
Set nonblocking mode on the right socket.

After a new connection has been accepeted, mark this new socket as
non-blocking, instead of remarking the listening socket once again.
Drop unneeded asserts.

These two asserts serve no purpose and break things. It's okay if a
socket is closed prematurely without sending all the data to its peer.
Tunable crashlog and some bugfixes.

Crashlog size is now tunable, size = 0 disables it completely. Also
fixed some minor bugs in the slave & engine code.
Changelog bump.
Merge branch 'master' of github.com:cocaine/cocaine-core
Set nonblocking mode on the right socket.

After a new connection has been accepeted, mark this new socket as
non-blocking, instead of remarking the listening socket once again.
Service release 0.10.4-2.

Socket non-blocking mode bugfix.
Merge branch 'v0.10'
Simplify session choking.

Do not lock the session map twice when processing session choke.
Instead, obtain a shared pointer to the stored session and then pop it
from the map under the lock, then continue working with that shared
pointer.
Forward COCAINE_DEBUG macro.

CMake magic to forward CMake variable to a #define in the source.
Proper variable naming.

Do not name different variables with the same name in one function.
Respond with a heartbeat earlier.

Engine will respond to a slave's heartbeat before trying to assign new
sessions to it. Reduces the lag somewhat.
Do not fire the idle timeout if it's disabled.

If the idle timeout was set to 0 (disable), it mistakenly was treated as
'kill slave immediately'. Sorry.
Even more simplified queueing code.

Queueing code in the slave is now even simpler. I don't even use map::insert()
anymore, just a more-readable operator[].
Activate a slave only after the first heartbeat.

Do not assume a slave to be ready for session assignment after a handshake,
always wait for a first heartbeat.