added an identify method

gets the width, height, depth and format
added tests for identify
added a quantizecolors function

function to quantize an image to a certain number of colors
Merge pull request #9 from jValdron/master

added an identify method