[profile] Fix indexing bug in constructor

The indexing starts at 0, but the for loop was pre-incrementing,
which caused the first profile name to be missed.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[profile] Fix profile count handling

The profile change notifications were not working in case
the profile count was anything else than the hardcoded number
of 4. Fixed the handling by converting the "names" private as
QStringList and checking against it's size and a editable macro
max value for profile count when filling the profile state arrays.

Increased the maximum profile count from 4 to 10 for increased
robustness.

Modified also unit test cases to work with the QStringList.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[vibra] Report touch screen vibra level changes

Report touch screen vibra level changes so that the profile
changes can be followed by clients.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[tests] Add vibration level related unit tests

Added unit tests for the new touch screen vibration level
APIs.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
Merge pull request #2 from kjokinie/master

Make the touch screen vibra level followable by libprofile clients