Place version and comment correctly in @deprecated
Fixed scripted newer command

The scripted newer command was effectively a noop, it always passed
because it returned false instead of throwing an exception when it
failed.

Implemented specs for most of the scripted file commands as well.
Merge pull request #1419 from jroper/fix-newer

Fixed scripted newer command
Merge pull request #1411 from jaceklaskowski/deprecated-reversed

Place version and comment correctly in @deprecated