Add get_top_scores method for Machine and Score

* fix validation for Score (check with present?)
Implement ranking in Home#index
Fix typo
Apply `limit` clause only when num is not nil.
Implement Machine#show