Rework handle_constants and handle_since_firmware functions
Add common.handle_rst_word function
Document function ID constants for set_response_expected function