Reliability, security

* Removed version number from comments
* obj_stk_sequence
* added all reads/modifies sql data, [not] deterministic
* rename() raises error for invalid parameters
* removed 1 useless SELECT in exists()