Added Functions, JS, restructure

Restructured the functions section, removing the library folder and
index file, opting to call functions files out of functions.php and
store them in a folder called functions in the root.

Added in JavaScript tabs (Jquery UI), added functions from Foundation.