Basic file info (size & hash) using polarssl

Implemented function to get some basic information about file. So far size and
md5sum. Seems working so far, committed tests as well.