Use compile-mode to handle build process.

Defined derived mode from compilation-mode.
Added regexps to jump to errors and warnings.
Reading build command form minibuffer.
Defined var for default command and providing other common as history in minibuffer.