Cleanup/reformatting
Make sure that we properly parse and save section release times

Firefox wasn't saving section release times, due to issues with JS Date() parsing.
I've modified the code to make it more explicit around what it should do and how
it should work, which also makes it work better with both Firefox and Chrome.
Properly parse and save section release times
Fixed Jasmine tests
Removed unused JS functions
Scoped pad2 function to the one place that it's called
Abstracted functionality to get datetime into separate JS function
Don't ignore null datetimes on subsection settings

Clicking "Sync to <course>" should send an AJAX request with the datetimes
set to null, so that the server resets them.
Created a new lettuce test to catch bug, updated other lettuce tests
Merge pull request #596 from edx/db/ff-subsection-datetime-bug

Fix Firefox subsection datetime bug