Extracted all functions into own file.

Hey there,

i just extracted all functions into “ _functions.scss” which gets included first. This fixes https://github.com/zurb/foundation/commit/2a1292446b1858b4480fd77029e8cabaad3c7a06.