Refine dependencies
Save onContentReady and onElementReady in one array

So all handlers get orderer by priority correctly.
Merge pull request #202 from fraxachun/3.7-oncontentready

OnContentReady and OnElementReady in one list