Update POSS3

* loginCas return the login
* create a function to get last purchases
* last_purchase renamed to last_purchases
Add more flexibility for getPurchasesForUser
Add small unittest for Purchase::getPurchasesForUser
Moved loginCas with login return in ServiceBase
Merge pull request #195 from trecouvr/POSS3

Update POSS3