Rename core to base
Core -> Base
Several refactorings, also see changelog

Use ramda, reorder and group functions, rename "null" to "empty", ...
Rename "null" to "empty"
Update function order and line numbers
Use ramda
Update changelog for next release