Fixed shortcode attributes

Shortcode attributes are now verified with the new
check_shortcode_parameter function.

Resolved autoplay shortcode attribute not applying.

Added a new setting to set the player type between Full Player and
Video Only (/embed/ or not)
Rename upload/metadata methods
Allow custom userid to appear in the custom metadata
Show a parsed User ID field in the fronted
Better handling of uploads on non VIP environment
Clear custom styles in the media browser
Show media that outside the availability window

In the embed browser, we filtered out media that was not yet available.
Editors should be able to embed media before it’s available to draft
posts.

Media that is not approved will still remain hidden
Refactor thePlatform-options.php

As more and more settings are added, we needed our Settings page to be
more flexible. Now we can add basic fields such as
string/boolean/hidden by just modifying one line in
thePlatform-constants.php
Speed up the Settings page

Our setting page made unnecessary WP calls which slowed it down enough
that each page took about 6-8 seconds to load. This should bring us
down to around 4 seconds.
Fix the fragment upload url for HTTPS
Update uploader to rely less on the proxy
Add a new embed hook setting and fix edit dialog layout

Users got confused when the embed button was moved from media_buttons
to a tinymce plugin, this commit allows users to choose which one
should be used (or both)

Also fixed a minor layout issue with the edit dialog box.
Improve format detection and new upload dialog

The upload dialog has been made a lot more friendly. Instead of showing
a status update for progress we’re now showing a progress bar.

Formats now fall back to the file extension if we can’t look up the
mime type, also resolves a bug when a mime type wasn’t found.
Fix edit/upload template layout issues

The shared template for editing and uploading Media didn’t generate
valid HTML causing some issues with the layout.
Fixed width settings fields
Standardize our scripts/styles naming convention
Fix a bug when adding a shortcode in the text editor
Improve messaging during upload
Change our bootstrap theme
Fix upload form style