add array helper to autoload.php so that we can use elements() in the model
add custom p_save and p_update functions to model, employing the elements() array through CI's array helper
Updates from code review with John, taking advantage of custom p_save/p_update methods in model.
tweak css of accordion box and added Z-index values to accordion title bar. Now can click on title bar (not just h4 heading) to get accordion to respond. Also cleaned up corresponding jQuery function
Implemented delete function in AJAX.