Fix #1024
Unit test
Merge pull request #1035 from sjinks/issue-1024

Phalcon\Config::merge does not work with derived classes