Moved intra mode cost calculation to a function
Moved intra mode cost calculation to a function

Conflicts:
	src/search.c

lu-zero/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,lu-zero/kvazaar,ultravideo/kvazaar,lu-zero/kvazaar,lu-zero/kvazaar,ultravideo/kvazaar