Addition of command line utility

This is an addition of a command line utility to make Olog entries. It allows for scripts and people to make entries and allocate logbooks and tags. There is also a small bash script to allow selected area screen grabs. 

The attachment data type has also been updated to correctly specify the mime-type so that files display properly in the logbook.