Added haar_blur.py

## File: haar_blur.py
## Author: Vladimir Kulyukin
## This is my implementation, to the best of my understanding,
## of the method given in "Blur Detection for Digital Images
## Using Wavelet Transform" by Hanghang Tong, Mingjing Li, Hongjiang
## Zhang, Changshui Zhang.
##
## to run:
## 1) install numpy and pywt
##
## 2) >> haar_estimate_image_blur('some_image.png', 35, 0.01)
## The two numbers in two threasholds. The first threshold is
## the threshold used in the application of the haar rules (read
## the text of the paper for more details); the second threshold is
## the threshold used in computing the extent of bluriness. This function
## returns a 2-tuple: (Boolean, Float). The boolean indicates whether
## the image is blurred or not. The float is the bluriness extent of the image.
## The boolean classification is not that reliable. Using the blur extent
## appears to be more reliable.
##
## 3) >> haar_estimate_image_blur_extent('some_image.png', 35) is the same
## as the above function but returns only float indicating the blur extent
## of the image.
##
## bugs, suggestions, improvements to vladimir dot kulyukin at gmail dot com
##
##################################################################