Added permissions checks to all the coldfusion functions related to tables.
Merge branch 'master' into pages

Conflicts:
	scripts/document.cfc
Created Framework for Section.
Added function to get a list of sections or a single section. Linked the function to the Sections table on the documents page.
Added ability to Add Sections to database
Added ability to view the sections on the documents page.
Added ability to update Sections
Added ability to remove Sections
Added ability to Add and Remove Questions from Sections
Added table to display the Tables that belong to a section. Added to the 'View Section' Pages.
Added Button to Add Tables to Sections it Displays list of available tables. Also fixed minor Query issues and variable misspellings.
Added ability to add Tables to Sections
Fixed issue where I was checking for the wrong permission when removing questions from sections, also fixed a misspelling in an error message.
Added ability to remove Table from Sections. Also corrected some typos in errors in the RemoveQuestionFromSection() Function.
Added framework in javascript for creating handling all the document 'Parts'
Added ability to Create document 'Parts'
Added List of 'Parts' to document page
Fixed issue Where sections were not being properly removed from database.
Added ability to Remove 'Parts'
Fixed issue when removing sections that checked for the incorrect variable when making sure the Removal was successful.