Redesign details meta box

This new one looks much similar to WP post meta box
Moved E-Mail account dropdown to top
Declaring variables in local scope

Currently variables are declared in global scope rather than local scope.
They are not required globally.
Merge pull request #122 from VarunAgw/meta-box-details

Redesign Details metabox to be more visually consistent with Core.