Improvements for api v2

Fixed to work with the new dpaste and added -e flag for expiry days.