Made the demo User entity return an array from getRoles()

With the tidy up of the doctrine stuff there was an issue with getRoles() returning a `Doctrine\\ORM\\PersistentCollection` rather than an array.