Update phalcon.sh

On Ubuntu systems and probably any recent Debian based distribution, the .profile file is not read if a .bash_profile file exists.
So we need to check .bash_profile before .profile
Update phalcon.sh

On Ubuntu and probably any recent Debian-based distro, the .profile file is not read if a .bash_profile file exists.
So better write the PTOOLSPATH to .bash_profile first.
Merge pull request #48 from svanpoeck/patch-1

Update phalcon.sh
Merge pull request #49 from svanpoeck/patch-2

Update phalcon.sh
Merge pull request #50 from wenchen/db8a4b812ae3700360cb51475b5ecb14d862a8b2

fix "searchAction" SQL syntex error
Merge pull request #51 from wenchen/2caea51b07fe820f079ebc861f834c1d7f1a4c23

 fix belongTo bug
Fix ScaffoldDBM class name
ScaffoldDBM class name bugfix
Merge pull request #52 from larryli/master

Fix ScaffoldDBM class name
Merge pull request #53 from mishamx/master

Command ScaffoldDBM class name bugfix
Improving scaffolld, making database compatible with sqlite
Fixing scaffold, adding 1.0.0 stubs
Moving simple template to Volt, improving scaffold
Fixing scaffold, adding .gitignore
Fixing migration bugs
Updating welcome message
Improving Micro-app generation
1. fix table-name UPPER case problem
2. [ScaffoldDBM] implement all-scaffold feature
[ScaffoldDBM] implement bootstraps-style front-end
fix url problem