Adjust to changes in Accounts API
Use pkgconfig and correct include for accounts
Move tests to /opt/tests