cocaine: Added ability to set list of remotes

It makes possible to specify several remotes for one host but
with different ports
dnet_ioserv: changed configuration format to json
core: fixed compilation by gcc-4.4
Merge pull request #403 from euroelessar/master

ioserv: moved configuration files to json (master)