Drop emacs 24.4 requirement, add s.el dependency.

Removed lexical-binding declaration, use s-chop-prefix and s-trim-right
instead of string-trim-right and string-remove-prefix from subr-x (Emacs
24.4 only).