Update ergoemacs function definitions.
Changed to  ergoemacs-beginning-of-line-or-what.  What can currently
be a text block, page, or buffer.
Updated smart ergoemacs beginning or end of line functions
Bugfix for ergoemacs hooks