delete bilateralfilter.cpp
update project files to VS2012
add pair symmetric optimization and some utility functions