Switch common_lib dependency to my own fork.
Sort .gitignore.
Upgrade rebar script to 2.4.0.
Add .rebar to .gitignore.
Fix MC/ESME deadlock in TRX mode.

An attemt to fix closed but not resolved issue #1. When sending pdus
from gen_mc/gen_esme to sessions, events to session fsms are sent in a
syncronous way. This causes deadlocks when there is an incoming pdu,
which is simultaneously and also syncronously passed from a session fsm
to gen_mc/gen_esme.

But actually sending pdus to sessions doesn't need to be syncronous: the
only result from session fsm is a unique ref, which is used further for
passing to callbacks. This ref can be generated and returned
immediately, and thus the entire outgoing pdu with the attached ref can
be sent to the session fsm asyncronously. An attempt to make such a fix
is contained in this PR. Мy generic examples which got constantly
blocked (on both mc and esme sides) stopped getting blocked after fix.

Author:     av <av@fun-box.ru>
Repository: savonarola
Commit:	    8ed55c33e49397497aea0ae56ae94d473ccc9e02
Remove stray Latin-1 character in comment.
Accept unknown errors in smpp_error:format.

Author: m.malkin <mmalkin@fun-box.ru>
Let gen_mc_session be stopped when cl_consumer was not started.

Author: m.malkin <mmalkin@fun-box.ru>
Fix cl_queue_srv leak in gen_mc.

Author: m.malkin <mmalkin@fun-box.ru>
Do not start cl_queue_srv at all when RPS is false.

Author: m.malkin <mmalkin@fun-box.ru>
Do not start cl_queue_srv in esme_client if RPS is false.

Author: m.malkin <mmalkin@fun-box.ru>
Fix typos in smpp_pdu.hrl.
Misc. fixes for README.
Merge branch 'fixes'