remove proto ref in linux dir
add heartbeat protocol
rename ruby proto dir to protocol
update the way of compiling proto files
add protobuf gem
move rvm version and gemset file out to project root