Fix #1786
Updated kernel/array.h documentation

  * Moved function descriptions to the header
  * Declared wrapper functions as static inline in the header
date is required extension
Fix all warnings in -Wall -Wextra -Wno-unused-parameter -Werror mode
Argument with 'nonnull' attribute passed null
Dereference of null pointer in zim_Phalcon_Security_deriveKey()
Test case
Fix bugs found by the static code analyzer
Updated CHANGELOG
Fix remaining warnings from #1788
Merge pull request #1787 from sjinks/issue-1786

Fix #1786