Fix a deadlock when there is a mismatch between stream lengths.

If it is possible to seek to a position in a file where there are no
subsequent video frames but the end of file has not been reached
gst_app_sink_pull_preroll will block forever.  Ensure there is a
frame available before calling.
Emit AccountModel::displayNameChanged() for newly added accounts and add some tests
Merge pull request #82 from blammit/account-model-fixes

Emit AccountModel::displayNameChanged() for newly added accounts and add some tests
Merge pull request #74 from adenexter/gstreamer-deadlock

Fix a deadlock when there is a mismatch between stream lengths.
Refactor Seaside models to improve perceived performance.

Prioritize querying the minimal amount of information required to
display a list of favorites on initialization so something can be
presented with the smallest of delays.  Once that's done basic data
for the rest of the contacts can be queried so complete or filtered
lists can be presented.  Finally the full contact data required for
individual display and editing is pulled in on demand.
Split out filtering from the synchronization logic.

While this amounts to more lines of code it is cleaner and more linear.
It should also be faster as the the pure synchronization use no longer
bears the overhead of filtering, each id is only ever checked againt
the filter once, and most importantly it groups changes better resulting
in fewer updates of any connected view.
Exclude the self contact as part of the query.

This doesn't appear to have any measurable affect on query times,
whereas querying the id through QContactManager takes around 130ms
on the hardware tested.
Fix up issues with Sparql direct connection disabled.

Some compilation issues, missing optimisations and self contact
filtering.
Always return a SeasidePerson instance for a contact id.

If the contact isn't in the cache it may just be delayed, return
a person anyway and the data will come later.
Return all the numbers associated with a contact in the initial query.
Merge pull request #73 from adenexter/contacts-refactor

Refactor Seaside models to improve perceived performance.
Merge pull request #80 from chriadam/master

[nemo-qml-plugins] Add social network plugin
Allow setting an account identifier after initialization

Previously, setting the account identifier was only allowed during
initialization.  This commit allows the account identifier to be set
after initialization, provided that the account is invalid.
Add encode() and decode() functions to Account and ServiceAccount

These functions allow encoding strings in various formats (eg, for
network transmission or storage in latin1 / plaintext formats), and
are provided as a convenience for application developers.
Note that the implementation of the encoding schemes is non standard.
Merge pull request #85 from chriadam/encoder

Add encode() and decode() functions to Account and ServiceAccount
Merge pull request #84 from chriadam/identifier

Allow setting an account identifier after initialization