Make ScaffoldListener list all associations.

Reinitialization of an array in ScaffoldListener::_associations causes
only one Association of each type to be returned.

This commit fixes the bug and the unittest. Note that Comment (core.comment)
has two belongsTo associations: User and Article.
Merge pull request #39 from daejk/fix_missing_associations

Make ScaffoldListener list all associations.