Removed useless if.
Updated some copyrights.
Fixed test case bugs.
Merged git-next generic into next-revision method.
Improved documentation, layout etc.