Correct misspell in coment

Change-Id: Icbe463a8242a79baafb19174d11c8169c710e659
Add ApiInterface for libcynara-admin

Implement ApiInterface in Logic class with stub functions.
Interpret CAPI parameters and use ApiInterface in admin-api.cpp.

Change-Id: I2fb617e23fe00a7183281e666388c4153c3d00f0
Add deserialization IO exception

BucketDeserializationException is thrown, when
bucket file stream could not be opened.

Change-Id: I0930793564beb73cfea937d43155e6953d42a6a1
Add 3 new Request classes for administrating Cynara

Three added classes are:
InsertOrUpdateBucketRequest - for inserting new bucket or modyfying
    default policy of existing one;
RemoveBucketRequest - for removing bucket;
SetPoliciesRequest - for modification of policies (adding, updating,
    removing).

RequestTaker class has been extended with new execute() methods for
processing newly added Request objects.
Proper shared pointers definitions were added in request/pointers.h
for supporting new Request types.

Change-Id: I0a94eb9ce8326da4ccb9bd078d3a90b6bef25bfa
Change collection types passed to Storage for changing policies

Old methods shall be removed in another commit, after unit test
are updated.

Change-Id: Id8a7a48859b743f897a651ebff2156846d8f0e58
Catch and throw more detailed exception, when bucket not found

There was an uncaught out_of_range exception, that can be thrown
by unordered_map::at() method. It will be better to use a more
detailed exception here. It will also fit into design of other
methods from InMemoryStorageBackend.

Change-Id: Ib70f10c79358b08f3b2a792143a1498050cc677a
Fix missing includes

Change-Id: Id10efb9dc37c1b0567ce2e7e3f4e641b2a6ac4c3
Add CodeResponse class - a simple response with just a status

This class shall be used as an answer for administrative requests:
* InsertOrUpdateBucketRequest;
* RemoveBucketRequest;
* SetPoliciesRequest.

Change-Id: I764ff5947a728504227114a1c5297df184a0c4bc
Implement administrating request in Cynara service Logic class

Change-Id: Ia4b1fe57ae2dc5a74565bf6f020cd14e72da19e8
Add new libcynara-admin return codes and missing comments

Change-Id: I7dd2bd16d82d9d4d6e19f4c980287034d6c94bea
Implement sending administration requests to Cynara service

Implemented requests are:
 * InsertOrUpdateBucketRequest;
 * RemoveBucketRequest;
 * SetPoliciesRequest.
All three requests have same response type (CodeResponse)
so they are handled in common function.

Change-Id: I84f7ad9375279d90db977d8a5d96ae38e29c3e5b
Remove unused class BucketAlreadyExistsException

Change-Id: I382d02081925d3eda9424e869e26ff0b921cba48
Remove unused enum Result

Change-Id: Id2db61e45c17ae9ecb196a792568e130498754d4
Update tests and remove unused Storage methods

Change-Id: I00456f5a087014d9e176ab1dd5bee86aa92c374b
Add serialization IO exception

BucketSerializationException is thrown, when
bucket file stream could not be opened.

Change-Id: If8d3ca06f708fbe4a67c82e43c967d56be30e8af
Add loading database in Cynara::init

Change-Id: Ie0d0774e4bc539ee4a33d87fb57afe33a5045952
Create local state directory for cynara service

Change-Id: I5b5ca2323916fe9a8763949ba17051d46e59a16f
Fix usage of local state directory in Cynara service

Change-Id: I66f60b919edf7f36a1de3d21db81bef5b9245485
Implement Storage::save() using StorageSerializer and clean up

There was a lot of mess in #includes directives and forward
declarations of classes. It was cleaned out.
InMemoryStorageBackend::Buckets were moved to separate file
in order not to make a cyclic dependency.

New exception class CannotCreateFile was added.

Change-Id: I32b234ba0f4872791a9f931690c58e623de7096f
Add admin protocol (de)serialization

Change-Id: I59f279c45125ea049d762201f779ecadada136b4