Foundation 5.2.1

Updated to Foundation 5.2.1, updated menu functions to remove Walker
class and add functions based on JointsWP. Cleaned up other files.