Merge pull request #16 from SfietKonstantin/master

[nemo-qml-plugin-social] Bugfix to the Qt5 port
Add the capability to autodetect the current user

The autodectection of the current user is done through
two ways.

1. If a request calls /me/*, it tries to get the identifier
   from that request.
2. Manually, but calling the private method
   updateCurrentUserIdentifier. This method will then perform
   an arbitrary request through arbitraryRequest and get the
   identifier associated to the current user.

A new property, currentUserIdentifier, has been introduced
to FacebookInterface. If no identifier has been retrieved yet,
it's value is "me".
Added a tool to write Facebook ontologies

This commit introduces a helper tool in python that
is used to write Facebook ontologies, based on Facebook
object description files, that are written in JSON.
Added the tool to write interface

The tool to write interface is used to write interfaces
based on Facebook object description files. This first
version do not support advanced interfaces (that provides
actions).
Improved the tools

* Add the capability to write files for identifiable interfaces.
* Add the support for methods.
* Ported FacebookAlbumInterface.
* Added a README
Updated README
Fixes in the generator

This commit provides fixes in the generator, making the generated
code compile. It also bring back type() instead of contentType(),
and fixes bugs including undefined symbols, and the Album interface
not working well.

If a type is provided in the API it is automatically recognized and
changed to <object_name>Type.
Added support for lists, ported image interface

This commit provides
* Support for lists, that are managed with QDeclarativeListProperty
* A port of Facebook image interface
* Rework of tag (closer to Facebook API)
Fixed the bool issue

This commit fixed the variant -> boolean conversion issue
because a boolean was converted with .toBool() while it was
a string.
Port to Qt5

Added checks and includes for compatibility with
Qt 5.
Added support for like

Using API introduced in #17, it is possible
to check if the user liked something easily.

This commit add the support for that feature,
making the "liked" property effectively returning
if the user already liked something. It is implemented
in Album and Photo.
Relayouted the ontology include
Ported new entities to autogenerated code

This commit includes more port to autogenerated code,
the removal of FacebookLikeInterface, because likes
are simply FacebookObjectReferenceInterface, and more
enhancements to the generator.