Date format support

Added date format support using momentjs. This makes logged timestamps format configurable.