relaxed gist format so the following formats would work:

>>> print gist("http://gist.github.com/123078.git")
<script src="http://gist.github.com/123078.js"></script>
>>> print gist("http://gist.github.com/123078")
<script src="http://gist.github.com/123078.js"></script>
>>> print gist("https://gist.github.com/123078")
<script src="https://gist.github.com/123078.js"></script>
>>> print gist("https://gist.github.com/123078.git")
<script src="https://gist.github.com/123078.js"></script>