Fix code format.
* Rename get_trema_process_from_name to get_pid_by_trema_name
* Mark get_trema_process_from_name as deprecated
* Rename get_trema_process_from_name to get_pid_by_trema_name
* Change example names to meaningful names