implementing __format__

Salam

This is really simple, we had a use case where we wanted to do string formatting:

```python
s = "{date:%d}"
s.format(**{'date':jdatetime.datetime.fromgregorian(datetime.datetime.now())})
```

for this to work, `__format__` method was needed.