Added conditional to buildDictionary foreach loop

Fixes situations where morphType is null
Removed php memory limit
Merge pull request #3889 from GrahamCampbell/4.1-travis

Removed PHP Memory Limit From Travis Config
Updated code style
Merge pull request #3887 from davidrushton/4.1

Added conditional to buildDictionary foreach loop
Increment version.
Add getMorphType() and getMorphClass() to MorphToMany
Default parameters to empty array.
Merge pull request #3915 from lazychaser/4.1

Add getMorphType() and getMorphClass() to MorphToMany