Removed unrequired JSON API's

JSON API will be included by default in WordPress 4.1
Checking presence of ['respondents'] before using it
Removed a todo comment as feature is already implemented
Not accessing arrays directly returned from a function
Removed nonce and cap check todo from action_save_post

nonce verifications is done by WordPress
capability check is done by SupportFlow()->extend->permissions->limit_user_permissions()
Removed capability check todo comment as it is already done
Merge pull request #101 from VarunAgw/comment-removal

Removed a todo comment as feature is already implemented
Merge pull request #102 from VarunAgw/php-backward-compatibility

Not accessing arrays directly returned from a function
Merge pull request #107 from VarunAgw/nonce-capability-check

Remove invalid @todos
Typecasting to boolean rather using boolval()

Currently it uses boolbal() which was not present in PHP 5.3
Checkbox were unselected after deleting an account
Open SupportFlow menu when viewing 'Edit Predefined reply' page

Currently if you visit "Edit Predefined reply" page, the SupportFlow menu
in sidebar get closed
Merge pull request #108 from VarunAgw/settings-page

Prevent SSL checkboxes from being de-selected after deleting an account.
Merge pull request #109 from VarunAgw/predefined-replies

Open SupportFlow menu when viewing 'Edit Predefined reply' page
Merge pull request #103 from VarunAgw/json-api

Remove unnecessary JSON API endpoints. WP's official JSON API will land in 4.1 and can cover most or all of this.
E-Mail account not saved when saving thread

empty( $_POST['post_email_account'] ) was returning true
when $_POST['post_email_account'] was '0'.
Using an empty array if 'email_notifications_override' post meta array doesn't exist
Merge pull request #112 from VarunAgw/email-accounts

Check that account IDs are numeric instead of empty.

`is_empty()` returns true for 0 and '0', which led to a bug where the account ID wasn't inserted into `postmeta` when saving a thread.
Create a JS file to manage thread JS code
Requiring title and respondent to save a thread