Refactored controllers, workoutplans, models

changed controllers to use respond_with
updated deprecated methods in models
refactored workouplan form
adapted layout file
adapted Gemfile